change(ui): use the provided jwt always

This commit is contained in:
Shekar Siri 2024-02-26 14:01:41 +01:00
parent 91016cf92d
commit 6465f206be

View file

@ -59,7 +59,7 @@ const Router: React.FC<RouterProps> = (props) => {
const handleJwtFromUrl = () => {
const urlJWT = new URLSearchParams(location.search).get('jwt');
if (urlJWT && !isLoggedIn) {
if (urlJWT) {
props.setJwt(urlJWT);
}
};