diff options
| author | Michael <[email protected]> | 2017-04-30 19:38:17 -0400 |
|---|---|---|
| committer | Michael <[email protected]> | 2017-04-30 19:38:17 -0400 |
| commit | 73402c31a69bec303933d80a0cedaa5ae6a4f89c (patch) | |
| tree | 5657abab0649614290cb4d20bfd06352f37bf295 /Project-Unite/Models | |
| parent | 76be5076e025216a66d29ea7da67317c94ab06e6 (diff) | |
| download | project-unite-73402c31a69bec303933d80a0cedaa5ae6a4f89c.tar.gz project-unite-73402c31a69bec303933d80a0cedaa5ae6a4f89c.tar.bz2 project-unite-73402c31a69bec303933d80a0cedaa5ae6a4f89c.zip | |
System Name fiield in register view
Diffstat (limited to 'Project-Unite/Models')
| -rw-r--r-- | Project-Unite/Models/AccountViewModels.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Project-Unite/Models/AccountViewModels.cs b/Project-Unite/Models/AccountViewModels.cs index 30f24f1..4850c7c 100644 --- a/Project-Unite/Models/AccountViewModels.cs +++ b/Project-Unite/Models/AccountViewModels.cs @@ -69,6 +69,11 @@ namespace Project_Unite.Models [Display(Name = "Email")] public string Email { get; set; } + [Required(ErrorMessage = "You require a system name. This is the hostname you will use when inside ShiftOS.")] + [MinLength(5, ErrorMessage ="Your System Name must have at least 5 characters in it.")] + [Display(Name ="System Name")] + public string SystemName { get; set; } + [Required] [MaxLength(25, ErrorMessage ="Your username must be less than 25 characters long.")] [MinLength(3, ErrorMessage ="Your username must have a minimum of 3 characters.")] |
