Changed Auth to use Identity, with easy to set passsword requirenments via appsettings.json

This commit is contained in:
Matěj Kubíček committed 2026-05-01 18:07:27 +02:00
1 parent 3581fce0df
commit ea11e6969b
25 files changed
+1107 -561

No files matched your search

@@ -14,9 +14,12 @@ public class ProfileViewModel
[Display(Name = "Email")]
public string Email { get; set; } = string.Empty;
[DataType(DataType.Password)]
[Display(Name = "Current Password")]
public string? CurrentPassword { get; set; }
[DataType(DataType.Password)]
[Display(Name = "New Password (leave blank to keep current)")]
[MinLength(5)]
public string? NewPassword { get; set; }
[DataType(DataType.Password)]