logout update
This commit is contained in:
parent
8f85d605e1
commit
94eca20670
@ -44,6 +44,7 @@ export const CASProvider = ({ children }: CASProviderProps) => {
|
|||||||
|
|
||||||
function logout() {
|
function logout() {
|
||||||
localStorage.removeItem('userToken');
|
localStorage.removeItem('userToken');
|
||||||
|
localStorage.removeItem('userPrivilige');
|
||||||
redirectToCASLogoutService();
|
redirectToCASLogoutService();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user