비밀번호 변경 페이지 구현

This commit is contained in:
static
2025-01-13 02:53:32 +09:00
parent 299787537e
commit 8bb4d70fa5
10 changed files with 99 additions and 14 deletions

View File

@@ -8,7 +8,7 @@
onMount(async () => {
const goto = async (url: string) => {
const whitelist = ["/auth", "/key", "/client/pending"];
const whitelist = ["/auth/login", "/key", "/client/pending"];
if (!whitelist.some((path) => location.pathname.startsWith(path))) {
await svelteGoto(
`${url}?redirect=${encodeURIComponent(location.pathname + location.search)}`,