Check for 403 for incorrect password
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user