From 00611c691f0cffc4a33925d47cee981bf71e8667 Mon Sep 17 00:00:00 2001 From: Koushik Dutta Date: Tue, 13 Sep 2022 21:35:27 -0700 Subject: [PATCH] client: fix cloud/local login redirect flow --- plugins/core/ui/src/client.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/plugins/core/ui/src/client.ts b/plugins/core/ui/src/client.ts index 6fe0554a8..857303969 100644 --- a/plugins/core/ui/src/client.ts +++ b/plugins/core/ui/src/client.ts @@ -51,7 +51,9 @@ Vue.use(Vue => { return checkScryptedClientLogin() .then(response => { if (response.redirect) { - redirectScryptedLogin(); + redirectScryptedLogin({ + redirect: response.redirect, + }); return; } if (!response.expiration) {