account password change now returns 400
This commit is contained in:
@@ -131,7 +131,7 @@ angular.module('Application').controller('AccountController', ['$scope', 'Client
|
||||
$scope.passwordchange.busy = false;
|
||||
|
||||
if (error) {
|
||||
if (error.statusCode === 403) {
|
||||
if (error.statusCode === 400 && error.message === 'Password incorrect') {
|
||||
$scope.passwordchange.error.password = true;
|
||||
$scope.passwordchange.password = '';
|
||||
$('#inputPasswordChangePassword').focus();
|
||||
|
||||
Reference in New Issue
Block a user