Skip to content

Commit

Permalink
changed new_password_1 to new_password_2
Browse files Browse the repository at this point in the history
  • Loading branch information
SwanandBhuskute committed Nov 5, 2024
1 parent c101bea commit 14d145c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/components/Users/UserProfile.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -951,8 +951,7 @@ export default function UserProfile() {
changePasswordForm.new_password_1 ===
changePasswordForm.new_password_2,
"Confirm password should match the new password",
!changePasswordForm.new_password_1 &&
changePasswordForm.new_password_1.length > 0,
!changePasswordForm.new_password_2,
)}
</div>
)}
Expand Down

0 comments on commit 14d145c

Please sign in to comment.