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() {
|
||||
localStorage.removeItem('userToken');
|
||||
localStorage.removeItem('userPrivilige');
|
||||
redirectToCASLogoutService();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user