Sudo: 'NoneType' object has no attribute 'META'
moggers87 opened this issue · comments
Matt Molyneaux commented
When I merged #527 I obviously didn't test sudo-mode. django-elevate doesn't pass the request to the authentication backend (not sure if it should or not tbh) so we get a 500 error as our backend expects there to be a request.
Subclass the sudo form and fix the issue for now.