비밀번호 변경 수정2

This commit is contained in:
wallace
2025-11-28 14:49:56 +09:00
parent c021303182
commit 04feb84192
2 changed files with 99 additions and 7 deletions

View File

@@ -228,17 +228,17 @@ class ApiService {
async verifyPasswordResetCode(email: string, code: string) {
return this.request('/auth/password/confirm', {
method: 'POST',
body: { email, code },
body: { email, emailCode: code },
});
}
/**
* 비밀번호 재설정
*/
async resetPassword(email: string, code: string, newPassword: string, confirmPassword: string) {
async resetPassword(email: string, emailCode: string, newPassword: string, newPasswordConfirm: string) {
return this.request('/auth/password/reset', {
method: 'POST',
body: { email, code, newPassword, confirmPassword },
body: { email, emailCode, newPassword, newPasswordConfirm },
});
}