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:
wrzesinski-hubert 2020-12-16 00:50:03 +01:00
commit 3b1384ea4a
1 changed files with 1 additions and 0 deletions

View File

@ -44,6 +44,7 @@ export const CASProvider = ({ children }: CASProviderProps) => {
function logout() {
localStorage.removeItem('userToken');
localStorage.removeItem('userPrivilige');
redirectToCASLogoutService();
}