Removed clear-text password from sample

Removed unused clear-text password as it encourages risky coding.

#1764
This commit is contained in:
Henk Mollema 2015-04-17 13:58:48 +02:00
parent 18efefd5cf
commit 3ac6acdab4
2 changed files with 0 additions and 2 deletions

View File

@ -174,7 +174,6 @@ namespace MvcSample.Web
Alive = true,
Age = 13,
GPA = 13.37M,
Password = "Secure string",
Dependent = new User()
{
Name = "Dependents name",

View File

@ -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; }