mirror of
https://gitlab.com/buildfeed/BuildFeed.git
synced 2024-03-22 21:10:34 +08:00
Update RedisMembershipProvider.cs
Updated min password character count to 8. Also dropped invalid password attempt count as; if you can't get your password in 3 tries, just reset it, its easier.
This commit is contained in:
parent
fd16d09234
commit
c1d7bd808c
|
@ -16,9 +16,9 @@ namespace RedisAuth
|
|||
public class RedisMembershipProvider : MembershipProvider
|
||||
{
|
||||
private bool _enablePasswordReset = true;
|
||||
private int _maxInvalidPasswordAttempts = 5;
|
||||
private int _maxInvalidPasswordAttempts = 3;
|
||||
private int _minRequiredNonAlphanumericCharacters = 1;
|
||||
private int _minRequriedPasswordLength = 12;
|
||||
private int _minRequriedPasswordLength = 8;
|
||||
private int _passwordAttemptWindow = 60;
|
||||
private bool _requiresUniqueEmail = true;
|
||||
|
||||
|
@ -491,4 +491,4 @@ public class RedisMember : IHasId<Guid>
|
|||
public DateTime LockoutWindowStart { get; set; }
|
||||
public int LockoutWindowAttempts { get; set; }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user