mirror of
https://github.com/kmc7468/arkvault.git
synced 2025-12-17 23:48:45 +00:00
비밀번호 변경 페이지 구현
This commit is contained in:
@@ -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)}`,
|
||||
|
||||
Reference in New Issue
Block a user