From 393bba45db0863f772dcc7ac70dffaf5eb5309b6 Mon Sep 17 00:00:00 2001 From: static Date: Sat, 12 Jul 2025 18:24:43 +0900 Subject: [PATCH] =?UTF-8?q?=EB=B9=84=EB=B0=80=EB=B2=88=ED=98=B8=20?= =?UTF-8?q?=EB=B3=80=EA=B2=BD=EC=8B=9C=20=EB=B9=84=EB=B0=80=EB=B2=88?= =?UTF-8?q?=ED=98=B8=20=ED=99=95=EC=9D=B8=20=ED=95=84=EB=93=9C=20=EC=B6=94?= =?UTF-8?q?=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/routes/(fullscreen)/auth/changePassword/+page.svelte | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/routes/(fullscreen)/auth/changePassword/+page.svelte b/src/routes/(fullscreen)/auth/changePassword/+page.svelte index 25ded91..b8cabff 100644 --- a/src/routes/(fullscreen)/auth/changePassword/+page.svelte +++ b/src/routes/(fullscreen)/auth/changePassword/+page.svelte @@ -6,8 +6,14 @@ let oldPassword = $state(""); let newPassword = $state(""); + let confirmPassword = $state(""); const changePassword = async () => { + if (newPassword !== confirmPassword) { + // TODO: Alert + return; + } + if (await requestPasswordChange(oldPassword, newPassword)) { await goto("/menu"); } @@ -30,6 +36,7 @@ +