-
Notifications
You must be signed in to change notification settings - Fork 92
KeyError '_password_policies_change_required' #31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Can you provide the whole stack trace? |
Environment: Request Method: GET Django Version: 1.5.12 Traceback:
Exception Type: KeyError at /admin/ |
Thx! Can you try to remove the 'password_policies.middleware.PasswordChangeMiddleware'. Won't work anyway if you set PASSWORD_USE_HISTORY to false I think... The middleware is not very reliable and needs to be rewritten. Is there a reason why you need the middleware and disable the usage of the password history at the same time? |
Thx! It worked! |
So this issue could be closed? |
Yes!, It worked for me |
Closing as it seems to work for @xusy2k. |
If I set PASSWORD_USE_HISTORY to False I always get this exception
The text was updated successfully, but these errors were encountered: