mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-28 01:53:25 +00:00
Set known default password for sample users
This enables us to easily log in as one of the sample users to test functionality as enterprise user or customer instead of admin.
This commit is contained in:
@@ -30,7 +30,7 @@ module SampleData
|
||||
|
||||
def create_user(name)
|
||||
email = "#{name.downcase.tr(' ', '.')}@example.org"
|
||||
password = Spree::User.friendly_token
|
||||
password = "ofn123"
|
||||
log "- #{email}"
|
||||
user = Spree::User.create_with(
|
||||
password:,
|
||||
|
||||
Reference in New Issue
Block a user