Merge pull request #2399 from henkmollema/fix-1764
Removed clear-text password from sample
This commit is contained in:
commit
dedf923f09
|
|
@ -174,7 +174,6 @@ namespace MvcSample.Web
|
|||
Alive = true,
|
||||
Age = 13,
|
||||
GPA = 13.37M,
|
||||
Password = "Secure string",
|
||||
Dependent = new User()
|
||||
{
|
||||
Name = "Dependents name",
|
||||
|
|
|
|||
|
|
@ -24,7 +24,6 @@ namespace MvcSample.Web.Models
|
|||
public decimal GPA { get; set; }
|
||||
public User Dependent { get; set; }
|
||||
public bool Alive { get; set; }
|
||||
public string Password { get; set; }
|
||||
[DisplayFormat(ConvertEmptyStringToNull = true, NullDisplayText = "You can explain about your profession")]
|
||||
public string Profession { get; set; }
|
||||
public string About { get; set; }
|
||||
|
|
|
|||
Loading…
Reference in New Issue