비밀번호 변경 수정2
This commit is contained in:
@@ -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 },
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user