Check for 403 for incorrect password
This commit is contained in:
@@ -128,7 +128,7 @@ angular.module('Application').controller('AccountController', ['$scope', 'Client
|
||||
$scope.passwordchange.busy = false;
|
||||
|
||||
if (error) {
|
||||
if (error.statusCode === 401) {
|
||||
if (error.statusCode === 403) {
|
||||
$scope.passwordchange.error.password = true;
|
||||
$scope.passwordchange.password = '';
|
||||
$('#inputPasswordChangePassword').focus();
|
||||
|
||||
Reference in New Issue
Block a user