Update password field in db, set null for uninitialized
This commit is contained in:
+1
-1
@@ -28,7 +28,7 @@ namespace MileageTraker.Web.Models
|
||||
[RegularExpression(@"[A-Za-z().]+(\s+[A-Za-z().]+)+", ErrorMessage = "Need complete name")]
|
||||
public string FullName { get; set; }
|
||||
|
||||
[Required, DataType(DataType.Password)]
|
||||
[DataType(DataType.Password)]
|
||||
[StringLength(128)]
|
||||
public string Password { get; set; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user