I use a LoginControl and a custom membership provider for my web site. That works fine - I have only one question. If I set IsLockedOut=1 in table aspnet_Membership for a user and this user tries to login I would like to show a different message than the normal failure message.
So basically I need to find out about the reason of failure in the LoginError callback. Does anyone know how I can do that?