Skip to content

Commit 9938805

Browse files
fix: remove hack reload key after logout (#512)
Signed-off-by: Joris Mancini <[email protected]>
1 parent bdc675e commit 9938805

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/utils/AuthService.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,7 @@ export function logout(
206206
userManagerInstance: UserManager
207207
) {
208208
sessionStorage.removeItem(hackAuthorityKey); //To remove when hack is removed
209+
sessionStorage.removeItem(oidcHackReloadedKey);
209210
return userManagerInstance.getUser().then((user) => {
210211
if (user) {
211212
// We don't need to check if token is valid at this point

0 commit comments

Comments
 (0)