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

Commit

Permalink
set limits on verification key and hashed password columns
Browse files Browse the repository at this point in the history
  • Loading branch information
brockallen committed Jan 10, 2013
1 parent 39629fa commit e94676f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions BrockAllen.MembershipReboot/Models/UserAccount.cs
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,12 @@ internal static UserAccount Create(string tenant, string username, string passwo
public virtual DateTime? LastFailedLogin { get; private set; }
public virtual int FailedLoginCount { get; private set; }

[StringLength(50)]
public virtual string VerificationKey { get; private set; }
public virtual DateTime? VerificationKeySent { get; private set; }

[Required]
[StringLength(200)]
public virtual string HashedPassword { get; private set; }

public virtual ICollection<UserClaim> Claims { get; private set; }
Expand Down

0 comments on commit e94676f

Please sign in to comment.