Skip to content
This repository has been archived by the owner on Dec 14, 2018. It is now read-only.

Removed clear-text password from sample #2399

Merged
merged 1 commit into from
Apr 20, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion samples/MvcSample.Web/HomeController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,6 @@ public User CreateUser()
Alive = true,
Age = 13,
GPA = 13.37M,
Password = "Secure string",
Dependent = new User()
{
Name = "Dependents name",
Expand Down
1 change: 0 additions & 1 deletion samples/MvcSample.Web/Models/User.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ public User()
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; }
Expand Down