mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-04-28 15:09:22 +03:00
fix validation passwords
This commit is contained in:
parent
e4be8c3485
commit
b6d4e6c6d8
|
@ -26,7 +26,7 @@
|
|||
{component 'field' template='text'
|
||||
name = 'password'
|
||||
type = 'password'
|
||||
rules = [ 'required' => true, 'minlength' => '5' ]
|
||||
rules = [ 'required' => true, 'minlength' => '5', 'trigger' => 'input' ]
|
||||
label = $aLang.auth.labels.password
|
||||
inputClasses = 'js-input-password-reg'}
|
||||
|
||||
|
@ -34,7 +34,7 @@
|
|||
{component 'field' template='text'
|
||||
name = 'password_confirm'
|
||||
type = 'password'
|
||||
rules = [ 'required' => true, 'minlength' => '5', 'equalto' => '.js-input-password-reg', 'equalto-message' => {lang 'auth.registration.notices.error_password_equal'} ]
|
||||
rules = [ 'required' => true, 'minlength' => '5', 'trigger' => 'input', 'equalto' => '.js-input-password-reg', 'equalto-message' => {lang 'auth.registration.notices.error_password_equal'} ]
|
||||
label = $aLang.auth.registration.form.fields.password_confirm.label}
|
||||
|
||||
{* Каптча *}
|
||||
|
|
Loading…
Reference in a new issue