superadmin: check complexity password server side

This commit is contained in:
Christophe Robillard 2020-11-17 17:11:04 +01:00 committed by simon lehericey
parent 94b3ec942b
commit 15a395fbc7
4 changed files with 59 additions and 4 deletions

View file

@ -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