superadmin: check complexity password server side
This commit is contained in:
parent
94b3ec942b
commit
15a395fbc7
4 changed files with 59 additions and 4 deletions
|
@ -2,7 +2,7 @@ FactoryBot.define do
|
|||
sequence(:super_admin_email) { |n| "plop#{n}@plop.com" }
|
||||
factory :super_admin do
|
||||
email { generate(:super_admin_email) }
|
||||
password { 'my-s3cure-p4ssword' }
|
||||
password { '{My-$3cure-p4ssWord}' }
|
||||
otp_required_for_login { true }
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue