I currently have a login page for a web app that raises a Twisted UnauthorizedLog in Error if the username or password is wrong.
I am trying to add to this a check to see if the account is enabled or disabled, and if disabled, raise a Twisted LoginDenied Error.
This part all works ok, I can see that the LoginDenied Error is being raised ok, but I have no idea how to handle the error. It is just going to a generic Python...