Skip to content
Snippets Groups Projects
Commit 45648b4e authored by Nico Vermaas's avatar Nico Vermaas
Browse files

make error messages a bit more explicit

parent 8bff8e18
No related branches found
No related tags found
1 merge request!46Dev nico
Pipeline #16162 passed
......@@ -30,7 +30,7 @@ function setProfileState(api_host,
})
.catch((error) => {
alert(error)
alert('GlobalContext.setProfileState:' + error)
// when the token is no longer valid, .get with credentials will fail
// mark the user as being logged out
localStorage.removeItem('esap_logged_in')
......
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