I have forgot to change "maxInvalidPasswordAttempts" in my web config and it was on 5! Now one of my users get locked. I have change Islocked column to false but it is keeping unlock. Can any body help me how to unlock this user?
Asked
Active
Viewed 4,262 times
2 Answers
3
You want to update in two columns in Membership table.
IsLockedOut to 0
FailedPasswordAttemptCount to 0

Win
- 61,100
- 13
- 102
- 181
1
Use the UnlockUser()
method in your code.
http://msdn.microsoft.com/en-us/library/system.web.security.membershipuser.unlockuser.aspx

Infotekka
- 10,307
- 2
- 20
- 17