Merge branch 'develop' into devTee

This commit is contained in:
setthawutttty 2024-12-19 17:42:17 +07:00
commit 063db4e245

View file

@ -12,7 +12,7 @@ const authenticated = async () => ((await getToken()) ? true : false);
async function setAuthen(r: AuthResponse) {
await setCookie(ACCESS_TOKEN, r.access_token, r.expires_in);
window.location.href = "/login";
window.location.href = "/";
}
async function logout() {