mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
Seed admin user without asking by default
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user