There is a problem with DNN 9.1. After locking out a user (from code), the DNN cache doesn't refresh.
Scenario
- User entered his/her password more than Membership.MaxInvalidPasswordAttempts; so, the user is locked out.
- Logging by 'host' (superuser account), and searching for the locked user, the DNN doesn't display the user as locked. (actually, I was searching for the 'Unlock User' option)
Q
- Is there any way to let the DNN know after locking a user from the code?
- How much time, should I wait till the DNN cache refresh?