Are using SS Authentication tables? userAuth, userAuth_Premissions, userAuth_Roles, userAuthProvider and userAuthProvider_items
I don’t find any “lock” on this structure, it might that you’re using ASP.NET Membership instead? And yes, they do have a “lock” feature in their user table (aspnet_Membership table).
just edit the user and put back the FailedPasswordAttemptCount to zero and IsLockedOut to 0 as well.
you can also edit the web.config file and set maxInvalidPasswordAttempts to zero (default is 5).
@balexandre
Hi thanks for replying.
I use SS Authentication and i think SS has lock feature. Please have a look at MaxLoginAttempts.
var af = new AuthFeature(
() => new BabybusUserSession(), //Use your own typed Custom UserSession type
new IAuthProvider[]
{
//HTML Form post of UserName/Password credentials
new BabybusCredentialsAuthProvider()
{
SessionExpiry = TimeSpan.FromDays(sessionDays)
},
}
);
af.MaxLoginAttempts = 2;