SqlMembershipProvider -

In have my web.config set up so that after three invalid login attempts, the
user account will be locked out

maxInvalidPasswordAttempts="3"
passwordAttemptWindow="10"

This all works fine. If I want the account to be enabled after a specific
period of time has past, do I need to call the unlock method, based off the
time span between the FailedPasswordAttemptWindowStart time and the current
time?

Advertisements

Yes. there is no automatic unlock feature - you have to do that yourself.

---------------------------------------
Dominick Baier - DevelopMentorhttp://www.leastprivilege.com
> In have my web.config set up so that after three invalid login
> attempts, the user account will be locked out
>
> maxInvalidPasswordAttempts="3"
> passwordAttemptWindow="10"
> This all works fine. If I want the account to be enabled after a
> specific period of time has past, do I need to call the unlock method,
> based off the time span between the FailedPasswordAttemptWindowStart
> time and the current time?
>

Share This Page

Welcome to The Coding Forums!

Welcome to the Coding Forums, the place to chat about anything related to programming and coding languages.

Please join our friendly community by clicking the button below - it only takes a few seconds and is totally free. You'll be able to ask questions about coding or chat with the community and help others.
Sign up now!