diff --git a/db/default/users.rb b/db/default/users.rb index 582a16126d..b28cd8fe53 100644 --- a/db/default/users.rb +++ b/db/default/users.rb @@ -34,7 +34,7 @@ def prompt_for_admin_email end def create_admin_user - if ENV['AUTO_ACCEPT'] + if ENV.fetch("AUTO_ACCEPT", true) password = 'spree123' email = 'spree@example.com' else