You have multiple authentication backends configured and therefore must provide the `backend` argument or set the `backend` attribute on the user.
See original GitHub issueI get this error when trying to activate a new user from verification code:
You have multiple authentication backends configured and therefore must provide the
backendargument or set the
backend attribute on the user.
I’ve updated my activate function to specify the default authentication channel but still no luck:
def activate(request, uidb64, token, backend='django.contrib.auth.backends.ModelBackend'):
Issue Analytics
- State:
- Created 5 years ago
- Comments:9 (2 by maintainers)
Top Results From Across the Web
multiple authentication backends configured and therefore ...
I found the solution. call login() with backend argument like login(request, user, backend='django.contrib.auth.backends.ModelBackend').
Read more >Django : multiple authentication backends configured and ...
Django : multiple authentication backends configured and therefore must provide the ` backend ` argument or set the ` backend ` attribute on...
Read more >#27891 (Allow setting a login backend when using ...
You have multiple authentication backends configured and therefore must provide the backend argument or set the backend attribute on the user.
Read more >[Django] #27891: Allow to set a login backend when using ...
''You have multiple authentication backends configured and therefore must provide the `backend` argument or set the `backend` attribute on the user.''.
Read more >Django Multiple Authentication Backends Based On Status ...
Since the authentication backend is used by Django to get the user object, it is not known at the time we're calling the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@omab, correct! Solved it by dropping authenticate() and taking the user from my form:
I am also facing the same issue . Any update ?