Add administrator editing
This commit is contained in:
@@ -14,6 +14,9 @@ namespace InventoryTraker.Web.Models
|
||||
[RegularExpression(@"[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,4}", ErrorMessage = "Must be an email address")]
|
||||
public string Email { get; set; }
|
||||
|
||||
//[Required]
|
||||
public bool Administrator { get; set; }
|
||||
|
||||
[DataType(DataType.Password)]
|
||||
public string Password { get; set; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user