Update change-password.controller.js

modify "changed" to "change"
This commit is contained in:
yhua123 2016-07-06 16:33:48 +08:00 committed by GitHub
parent 2a915785d3
commit 977119150d

View File

@ -76,7 +76,7 @@
var message;
$scope.$emit('modalTitle', $filter('tr')('error'));
console.log('Failed to changed password:' + data);
console.log('Failed to change password:' + data);
if(data == 'old_password_is_not_correct') {
message = $filter('tr')('old_password_is_incorrect');
}else{