[cs] feat: 로그아웃 라우트 핸들러 적용
This commit is contained in:
@@ -92,6 +92,7 @@ async function silentRefresh(): Promise<void> {
|
||||
}
|
||||
|
||||
async function logout(): Promise<void> {
|
||||
await fetch("/api/auth/logout", { method: "POST" });
|
||||
tokenManager.clearAuthToken();
|
||||
clearDeviceId();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user