mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-22 18:50:08 +03:00
(cherry picked from commit 5e84054a450427c46df9983f98a919296fbce8c1)
This commit is contained in:
parent
e96f9b0c7b
commit
0274dc5c05
@ -69,7 +69,7 @@ const AuthLayout = ({ subscriptions = [], children }) => {
|
||||
|
||||
useEffect(() => {
|
||||
if (!jwt) {
|
||||
const token = findStorageData(JWT_NAME) || findExternalToken()
|
||||
const token = findExternalToken() || findStorageData(JWT_NAME)
|
||||
token && changeJwt(token) && storage(JWT_NAME, token)
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user