use validateUser for reset form

This commit is contained in:
j 2012-06-05 15:29:17 +02:00
parent 124de36cb6
commit 330c62890a

View file

@ -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);
}
});
}