Skip to content
Snippets Groups Projects
Commit 274eb73c authored by Muthukrishnanmatriot's avatar Muthukrishnanmatriot
Browse files

TMSS-937 - updated csrf token param

parent 8e51d82b
No related branches found
No related tags found
2 merge requests!634WIP: COBALT commissioning delta,!577Resolves TMSS-937
......@@ -35,7 +35,7 @@ const AuthService = {
user = JSON.parse(user);
document.cookie = 'csrfmiddlewaretoken='+user.token;
}
await axios.post(UIConstants.KEYCLOAK_LOGOUT_URL);
await axios.post(UIConstants.KEYCLOAK_LOGOUT_URL, {csrfmiddlewaretoken:user.token});
}
localStorage.removeItem("loginType");
} catch(error) {
......
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