Correct the variable reference
This commit is contained in:
parent
4a9111c112
commit
d84e19b39f
1 changed files with 1 additions and 1 deletions
|
@ -297,7 +297,7 @@ App.Pages.Secretaries = (function () {
|
||||||
if ($password.val().length < vars('min_password_length') && $password.val() !== '') {
|
if ($password.val().length < vars('min_password_length') && $password.val() !== '') {
|
||||||
$('#password, #password-confirm').addClass('is-invalid');
|
$('#password, #password-confirm').addClass('is-invalid');
|
||||||
throw new Error(
|
throw new Error(
|
||||||
'Password must be at least ' + BackendSecretaries.MIN_PASSWORD_LENGTH + ' characters long.'
|
'Password must be at least ' + vars('min_password_length')+ ' characters long.'
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue