wrong password is 401

This commit is contained in:
Girish Ramakrishnan
2018-06-15 20:54:15 -07:00
parent 7f11cc0daf
commit 63f2bbb253
6 changed files with 7 additions and 7 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 === 403) {
if (error.statusCode === 401) {
$scope.passwordchange.error.password = true;
$scope.passwordchange.password = '';
$('#inputPasswordChangePassword').focus();