Skip to content
Snippets Groups Projects
Commit 6466f4ea authored by Pomucz Tamás András's avatar Pomucz Tamás András
Browse files

Not loading content after session expiry bug workaround

parent 64113b01
No related branches found
Tags 1.4.3
No related merge requests found
Pipeline #51703 passed
......@@ -58,6 +58,11 @@ export const getUserData = () => async (dispatch) => {
});
} catch (e) {
console.log(e);
// Invalid session bug workaround
if (!e.response) {
window.location = "/oidc/logout"
}
}
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment