Improve password validation
This commit is contained in:
parent
d4e5674753
commit
587bf67805
1 changed files with 2 additions and 2 deletions
|
@ -8,13 +8,13 @@ $(function() {
|
|||
$('.ui.form').form({
|
||||
fields: {
|
||||
'user-email' : 'email',
|
||||
|
||||
'user-password' : ['minLength[8]'],
|
||||
match : {
|
||||
identifier : 'user-password-repeat',
|
||||
depends : 'user-password',
|
||||
rules : [
|
||||
{
|
||||
type : ['minLength[8]','match[user-password]'],
|
||||
type : 'match[user-password]',
|
||||
prompt : text.form_profile_password
|
||||
}
|
||||
]
|
||||
|
|
Loading…
Reference in a new issue