From 0f633cb29c4aa6be91d37ecdd6a8e2d610412620 Mon Sep 17 00:00:00 2001 From: basssy Date: Fri, 7 Feb 2025 14:17:55 +0900 Subject: [PATCH] =?UTF-8?q?=EC=B5=9C=EC=B4=88=20=EB=B9=84=EB=B0=80?= =?UTF-8?q?=EB=B2=88=ED=98=B8=20=EB=B3=80=EA=B2=BD=20=ED=8C=9D=EC=97=85=20?= =?UTF-8?q?=EB=B9=84=EB=B0=80=EB=B2=88=ED=98=B8=20=EB=B3=80=EA=B2=BD=20?= =?UTF-8?q?=ED=9B=84=20alert=20=ED=99=95=EC=9D=B8=20=EB=88=84=EB=A5=B4?= =?UTF-8?q?=EB=A9=B4=20=EB=A1=9C=EA=B7=B8=EC=9D=B8=ED=99=94=EB=A9=B4?= =?UTF-8?q?=EC=9D=B4=EB=8F=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/main/ChangePasswordPop.jsx | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/src/components/main/ChangePasswordPop.jsx b/src/components/main/ChangePasswordPop.jsx index 8f3687fc..4afd3395 100644 --- a/src/components/main/ChangePasswordPop.jsx +++ b/src/components/main/ChangePasswordPop.jsx @@ -105,12 +105,14 @@ export default function ChangePasswordPop(props) { swalFire({ text: getMessage('main.popup.login.success'), type: 'alert', + confirmFn: async () => { + const result = { ...sessionState, pwdInitYn: 'Y' } + setSession(result) + setSessionState(result) + props.setChagePasswordPopOpen(false) + await login() + }, }) - const result = { ...sessionState, pwdInitYn: 'Y' } - setSession(result) - setSessionState(result) - props.setChagePasswordPopOpen(false) - login() } else { alert(res?.result?.resultMsg) }