chore: auth service 수정
This commit is contained in:
@@ -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"));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user