From 6465f206be4ecf44d2971bb8d04e3ba8f6874388 Mon Sep 17 00:00:00 2001 From: Shekar Siri Date: Mon, 26 Feb 2024 14:01:41 +0100 Subject: [PATCH] change(ui): use the provided jwt always --- frontend/app/Router.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/app/Router.tsx b/frontend/app/Router.tsx index 3812b3185..a7c3375b0 100644 --- a/frontend/app/Router.tsx +++ b/frontend/app/Router.tsx @@ -59,7 +59,7 @@ const Router: React.FC = (props) => { const handleJwtFromUrl = () => { const urlJWT = new URLSearchParams(location.search).get('jwt'); - if (urlJWT && !isLoggedIn) { + if (urlJWT) { props.setJwt(urlJWT); } };