From 94eca206700092786ebe256e10caa315e8f2c4e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciek=20G=C5=82owacki?= Date: Wed, 16 Dec 2020 00:50:09 +0100 Subject: [PATCH] logout update --- src/contexts/CASProvider.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/contexts/CASProvider.tsx b/src/contexts/CASProvider.tsx index 8caf0f0..3ac9004 100644 --- a/src/contexts/CASProvider.tsx +++ b/src/contexts/CASProvider.tsx @@ -44,6 +44,7 @@ export const CASProvider = ({ children }: CASProviderProps) => { function logout() { localStorage.removeItem('userToken'); + localStorage.removeItem('userPrivilige'); redirectToCASLogoutService(); }