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

View File

@@ -95,7 +95,7 @@ angular.module('Application').controller('SettingsController', ['$scope', '$loca
$scope.planChange.busy = false;
if (error) {
if (error.statusCode === 401) {
if (error.statusCode === 403) {
$scope.planChange.error.password = true;
$scope.planChange.password = '';
$scope.planChangeForm.password.$setPristine();