Bypass date of birth check in dev:populate_sample_data
task (#34733)
This commit is contained in:
parent
0d809652d9
commit
0ada6e4168
1 changed files with 2 additions and 1 deletions
|
@ -11,7 +11,8 @@ namespace :dev do
|
|||
password: SecureRandom.hex,
|
||||
email: ENV.fetch('TEST_DATA_SHOWCASE_EMAIL', 'showcase_account@joinmastodon.org'),
|
||||
confirmed_at: Time.now.utc,
|
||||
approved: true
|
||||
approved: true,
|
||||
bypass_registration_checks: true
|
||||
).find_or_create_by!(id: 10_000_000)
|
||||
showcase_user.mark_email_as_confirmed!
|
||||
showcase_user.approve!
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue