Seed admin user without asking by default

This commit is contained in:
Maikel Linke
2019-08-09 14:04:46 +10:00
parent af1f6f6c6d
commit e4ba515109

View File

@@ -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