mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-13 04:00:21 +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