django-lazysignup
django-lazysignup copied to clipboard
authenticate passing the current request to the backends that need it
e.g. https://django-axes.readthedocs.io/en/latest/3_usage.html#authenticating-users
Otherwise that will fail with AxesBackendRequestParameterRequired('AxesBackend requires a request as an argument to authenticate')
@danfairs can you please give me feedback on this PR? thx!
Looks fine, could you add a quick test to make sure that the request is being passed please? (Also, can I confirm that the tests don't pass with this change and the messages app added? I'm afraid I don't have a dev env right now to check it myself). Thanks!
Just a heads-up: The changes in this PR are partly covered by #67, which was merged in the meantime.