mirror of
https://github.com/kmc7468/arkvault.git
synced 2025-12-16 06:58:46 +00:00
강제 로그인 기능 추가
This commit is contained in:
@@ -1,6 +1 @@
|
||||
import { callPostApi } from "$lib/hooks";
|
||||
|
||||
export const requestLogout = async () => {
|
||||
const res = await callPostApi("/api/auth/logout");
|
||||
return res.ok;
|
||||
};
|
||||
export { requestLogout } from "$lib/services/auth";
|
||||
|
||||
Reference in New Issue
Block a user