change(ui): use the provided jwt always
This commit is contained in:
parent
91016cf92d
commit
6465f206be
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue