forked from 0x2620/pandora
use validateUser for reset form
This commit is contained in:
parent
124de36cb6
commit
330c62890a
1 changed files with 1 additions and 1 deletions
|
@ -296,7 +296,7 @@ pandora.ui.accountForm = function(action, value) {
|
|||
{title: '', width: 0}
|
||||
],
|
||||
validate: function(value, callback) {
|
||||
callback(!Ox.isEmpty(value[1]));
|
||||
pandora.validateUser(value[0], true)(value[1], callback);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue