Skip to content

Commit

Permalink
FE: Additional HTTP code 400 for incorrect login or password is check…
Browse files Browse the repository at this point in the history
…ing now. (#1621)
  • Loading branch information
blazemachine authored and akak1977 committed Dec 13, 2019
1 parent 49335f4 commit 577ce7d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ angular.module('platformWebApp')
function (x) {
$scope.loginProgress = false;
if (angular.isDefined(x.status)) {
if (x.status == 401) {
if (x.status == 400 || x.status == 401) {
$scope.authError = 'The login or password is incorrect.';
} else {
$scope.authError = 'Authentication error (code: ' + x.status + ').';
Expand Down

0 comments on commit 577ce7d

Please sign in to comment.