Clear refresh token cookie during logout to enforce full session termination
Co-Authored-By: Codex <codex@openai.com>
This commit is contained in:
1 parent
cf45a43a37
commit
b53f58cb0c
2 files changed
+7
No files matched your search
@@ -106,6 +106,7 @@ export const useLoginStore = defineStore("loginStore", {
|
||||
*/
|
||||
logOut() {
|
||||
deleteCookie("luciaToken");
|
||||
deleteCookie("luciaRefreshToken");
|
||||
|
||||
this.isLoggedIn = false;
|
||||
deleteCookie("isLuciaLoggedIn");
|
||||
|
||||
Reference in new issue
Block a user