pass value to validate callback, fixes #1490

This commit is contained in:
j 2013-04-29 02:30:17 +00:00
parent 0cb9ebda1f
commit 6e0d73390c

View file

@ -70,7 +70,8 @@ pandora.validateNewPassword = function(value, callback) {
callback({
message: '',
// message: 'Missing password',
valid: value.length > 0
valid: value.length > 0,
value: value
});
};
@ -78,7 +79,8 @@ pandora.validatePassword = function(value, callback) {
callback({
message: '',
// message: 'Missing password',
valid: value.length > 0
valid: value.length > 0,
value: value
});
};