From 4d40a6f475ed2b310bd460312b2fe2fb8517c4ef Mon Sep 17 00:00:00 2001 From: caturbgs Date: Thu, 23 Dec 2021 16:50:34 +0700 Subject: [PATCH] feat: force reload if logout --- src/store/authentication.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/store/authentication.js b/src/store/authentication.js index 0edda9e..2d2ee4d 100644 --- a/src/store/authentication.js +++ b/src/store/authentication.js @@ -63,5 +63,6 @@ export class Authentication { TokenUtil.clearAccessToken(); TokenUtil.persistToken(); this.isLoggedIn = false; + window.location.reload(); } }