Skip to content
This repository was archived by the owner on Aug 1, 2021. It is now read-only.

Commit a8829b9

Browse files
committed
bug fix - ChangePasswordViewModel
1 parent f880829 commit a8829b9

File tree

3 files changed

+553
-1
lines changed

3 files changed

+553
-1
lines changed

src/Backend/Jp.Application/ViewModels/UserViewModels/ChangePasswordViewModel.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public class ChangePasswordViewModel
1818

1919
[DataType(DataType.Password)]
2020
[Display(Name = "Confirm new password")]
21-
[Compare("Password", ErrorMessage = "The new password and confirmation password do not match.")]
21+
[Compare("NewPassword", ErrorMessage = "The new password and confirmation password do not match.")]
2222
public string ConfirmPassword { get; set; }
2323

2424
public string StatusMessage { get; set; }

0 commit comments

Comments
 (0)