From 355bac00be540e9d9005e8f31f4bec2689a90ea5 Mon Sep 17 00:00:00 2001 From: Bryan Blanchard Date: Mon, 5 Feb 2024 21:17:07 -0600 Subject: [PATCH] fix: don't display 'success' message on auth errors --- octobot/src/assets/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/octobot/src/assets/app.js b/octobot/src/assets/app.js index f7cf070..e849094 100644 --- a/octobot/src/assets/app.js +++ b/octobot/src/assets/app.js @@ -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) {