Merge pull request 'Admin' (#38) from Admin into master
Reviewed-on: http://git.plannaplan.pl/y0rune/frontend/pulls/38 Reviewed-by: wrzesinski-hubert <wrzesinski.hubert@gmail.com>
This commit is contained in:
commit
3b1384ea4a
@ -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