Skip to content
Snippets Groups Projects
Commit a0672d7e authored by Alexey Lunin's avatar Alexey Lunin
Browse files

Merge branch 'master' into 479-image-fetching-optimiation

parents 084d14ac 83e9328f
No related branches found
No related tags found
1 merge request!39Implement centralized image fetching logic
...@@ -1169,6 +1169,8 @@ connection.promise.then(parent => { ...@@ -1169,6 +1169,8 @@ connection.promise.then(parent => {
localStorage.getItem("token") === null || localStorage.getItem("token") === null ||
localStorage.getItem("authenticatedIdentity") === null localStorage.getItem("authenticatedIdentity") === null
) { ) {
const event = createEvent("", "NotAuthenticated");
parent.onEvent(event);
localStorage.removeItem("uuid"); localStorage.removeItem("uuid");
localStorage.removeItem("token"); localStorage.removeItem("token");
localStorage.removeItem("authenticatedIdentity"); localStorage.removeItem("authenticatedIdentity");
......
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