비밀번호 변경 페이지 구현

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

No files matched your search

+1 -1
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)}`,