Check for 403 for incorrect password

This commit is contained in:
Girish Ramakrishnan
2018-06-18 18:57:00 -07:00
parent 12b1909c7a
commit b9a6f46543
5 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -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();