feat: 비밀번호 재설정 수정 #93
@ -14,7 +14,7 @@ async function setChgPwd(req: Request): Promise<NextResponse> {
|
||||
chgPwd,
|
||||
})
|
||||
|
||||
console.log('🚀 ~ qsp userPwdChg api response ~ response.data:', res.data)
|
||||
// console.log('🚀 ~ qsp userPwdChg api response ~ response.data:', res.data)
|
||||
|
||||
if (res.data.result.resultCode !== 'S') {
|
||||
const errorMsg = res.data.result.resultMsg
|
||||
|
||||
@ -79,7 +79,7 @@ export default function PwResetForm() {
|
||||
const res = await axiosInstance(null).post(`/api/auth/chg-pwd`, req)
|
||||
|
||||
if (res.status !== HttpStatusCode.Ok) {
|
||||
console.error(`パスワードの変更に失敗しました。: ${res.data.error}`)
|
||||
// console.error(`パスワードの変更に失敗しました。: ${res.data.error}`)
|
||||
alert('パスワードの変更に失敗しました。')
|
||||
return
|
||||
} else {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user