From 5371a67e9b6652e5242a39d4a840b81d8b510682 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fernando=20Fern=C3=A1ndez?= Date: Tue, 9 Jan 2024 23:51:39 +0100 Subject: [PATCH] fix: login with incorrect credentials stuck in endless loop MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Also removed unnecessary setting from VSCode settings.json (reported by Volar) Signed-off-by: Fernando Fernández --- .vscode/settings.json | 3 --- frontend/src/plugins/remote/auth/index.ts | 1 + 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index 47c689473ad..1d7a71d7a96 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -34,9 +34,6 @@ "mode": "auto" } ], - "emmet.includeLanguages": { - "vue": "html" - }, "vue.autoInsert.dotValue": true, "vue.server.fullCompletionList": true, "sonarlint.output.showAnalyzerLogs": true, diff --git a/frontend/src/plugins/remote/auth/index.ts b/frontend/src/plugins/remote/auth/index.ts index 4cb43a955c5..bee4e877563 100644 --- a/frontend/src/plugins/remote/auth/index.ts +++ b/frontend/src/plugins/remote/auth/index.ts @@ -216,6 +216,7 @@ class RemotePluginAuth { } useSnackbar(errorMessage, 'error'); + throw error; } } }