From f2bc697117c602e64cfc57539e3299600e8ad6f9 Mon Sep 17 00:00:00 2001 From: Natsumi Date: Fri, 19 Dec 2025 18:45:42 +1300 Subject: [PATCH] Revert "Clear cookie before saving user cookie" This reverts commit ed85a78ba3078936f1a0ef28c91069bd54b2dbd9. --- src/stores/auth.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stores/auth.js b/src/stores/auth.js index 5fbd4fd8..5a2f83a3 100644 --- a/src/stores/auth.js +++ b/src/stores/auth.js @@ -173,8 +173,8 @@ export const useAuthStore = defineStore('Auth', () => { watchState.isFriendsLoaded = false; watchState.isFavoritesLoaded = false; notificationStore.notificationInitStatus = false; - await webApiService.clearCookies(); await updateStoredUser(userStore.currentUser); + webApiService.clearCookies(); loginForm.value.lastUserLoggedIn = ''; await configRepository.remove('lastUserLoggedIn'); // workerTimers.setTimeout(() => location.reload(), 500);