diff options
-rw-r--r-- | src/store/modules/Authentication/AuthenticanStore.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/store/modules/Authentication/AuthenticanStore.js b/src/store/modules/Authentication/AuthenticanStore.js index 45aec3ee..c50a8a9b 100644 --- a/src/store/modules/Authentication/AuthenticanStore.js +++ b/src/store/modules/Authentication/AuthenticanStore.js @@ -35,6 +35,7 @@ const AuthenticationStore = { Cookies.remove('XSRF-TOKEN'); Cookies.remove('IsAuthenticated'); localStorage.removeItem('storedUsername'); + localStorage.removeItem('storedUserrole'); state.xsrfCookie = undefined; state.isAuthenticatedCookie = undefined; }, |