Skip to content

Commit

Permalink
fix: don't display 'success' message on auth errors
Browse files Browse the repository at this point in the history
  • Loading branch information
bblancha committed Feb 6, 2024
1 parent 76cc18b commit 355bac0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion octobot/src/assets/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -474,7 +474,7 @@ app.controller('VersionsController', function($rootScope, $scope, sessionHttp, n
$scope.req.admin_user = loggedInUser() + resp.data.login_suffix;
}
if (resp.data.error) {
notificationService.showError(resp.data.error);
throw(resp.data.error)
}
return resp;
}).finally(function(e) {
Expand Down

0 comments on commit 355bac0

Please sign in to comment.