fixed handleSubmit missing input

This commit is contained in:
2025-10-31 12:51:22 +01:00
parent 3ad497dd76
commit a69e934075

View File

@@ -343,7 +343,8 @@ const useEmployeeForm = (mode: 'create' | 'edit', employee?: Employee) => {
await executeWithValidation(() =>
employeeService.changePassword(employee.id, {
currentPassword: '',
newPassword: passwordForm.newPassword
newPassword: passwordForm.newPassword,
confirmPassword: passwordForm.confirmPassword
})
);
}