Clear refresh token cookie during logout to enforce full session termination
Co-Authored-By: Codex <codex@openai.com>
This commit is contained in:
@@ -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