chore: auth service 수정

This commit is contained in:
2026-07-16 18:33:35 +09:00
parent 1dcf01bb0e
commit 7f53badcf3
3 changed files with 3 additions and 6 deletions
@@ -102,6 +102,7 @@ async function silentRefresh(): Promise<void> {
export async function logout(): Promise<void> {
tokenManager.clearAuthToken();
clearDeviceId();
if (typeof window !== "undefined") {
window.dispatchEvent(new CustomEvent("auth:logout"));
}