Added blade option for same_pwd_as_user_fields

Disallows password form value to be the same as username, email, first name or last name
This commit is contained in:
snipe 2020-11-02 17:47:25 -08:00
parent 42347d0f0c
commit 33bda9b6d1

View file

@ -99,6 +99,10 @@
</div>
<div class="col-md-9">
{{ Form::checkbox("pwd_secure_complexity['same_pwd_as_user_fields']", 'same_pwd_as_user_fields', old('same_pwd_as_user_fields', strpos($setting->pwd_secure_complexity, 'same_pwd_as_user_fields')!==false), array('class' => 'minimal', 'aria-label'=>'pwd_secure_complexity')) }}
Password cannot be the same as first name, last name, email, or username<br>
{{ Form::checkbox("pwd_secure_complexity['letters']", 'letters', old('pwd_secure_uncommon', strpos($setting->pwd_secure_complexity, 'letters')!==false), array('class' => 'minimal', 'aria-label'=>'pwd_secure_complexity')) }}
Require at least one letter <br>