Removed clear-text password from sample
Removed unused clear-text password as it encourages risky coding. #1764
This commit is contained in:
parent
18efefd5cf
commit
3ac6acdab4
|
|
@ -174,7 +174,6 @@ namespace MvcSample.Web
|
||||||
Alive = true,
|
Alive = true,
|
||||||
Age = 13,
|
Age = 13,
|
||||||
GPA = 13.37M,
|
GPA = 13.37M,
|
||||||
Password = "Secure string",
|
|
||||||
Dependent = new User()
|
Dependent = new User()
|
||||||
{
|
{
|
||||||
Name = "Dependents name",
|
Name = "Dependents name",
|
||||||
|
|
|
||||||
|
|
@ -24,7 +24,6 @@ namespace MvcSample.Web.Models
|
||||||
public decimal GPA { get; set; }
|
public decimal GPA { get; set; }
|
||||||
public User Dependent { get; set; }
|
public User Dependent { get; set; }
|
||||||
public bool Alive { get; set; }
|
public bool Alive { get; set; }
|
||||||
public string Password { get; set; }
|
|
||||||
[DisplayFormat(ConvertEmptyStringToNull = true, NullDisplayText = "You can explain about your profession")]
|
[DisplayFormat(ConvertEmptyStringToNull = true, NullDisplayText = "You can explain about your profession")]
|
||||||
public string Profession { get; set; }
|
public string Profession { get; set; }
|
||||||
public string About { get; set; }
|
public string About { get; set; }
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue