로그인 비밀번호 변경 API 파라미터 수정
- ChangePasswordParams 타입 수정: password → currentPassword - 로그인 비밀번호 변경 페이지에서 currentPassword 전달하도록 수정 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -138,7 +138,7 @@ export interface UserMenuPermissionData {
|
|||||||
|
|
||||||
export interface ChangePasswordParams {
|
export interface ChangePasswordParams {
|
||||||
usrid: string;
|
usrid: string;
|
||||||
password: string;
|
currentPassword: string;
|
||||||
newPassword: string;
|
newPassword: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -57,7 +57,7 @@ export const PasswordModifyLoginPasswordPage = () => {
|
|||||||
// TODO: Validate current password before submitting
|
// TODO: Validate current password before submitting
|
||||||
changePasswordMutation.mutate({
|
changePasswordMutation.mutate({
|
||||||
usrid: usrid,
|
usrid: usrid,
|
||||||
password: newPassword,
|
currentPassword: currentPassword,
|
||||||
newPassword: newPassword,
|
newPassword: newPassword,
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user