mirror of
https://github.com/seanmorley15/AdventureLog.git
synced 2025-07-19 12:59:36 +02:00
refactor: Remove debug print statement from NoPasswordAuthBackend authentication method
This commit is contained in:
parent
771579ef3d
commit
1042a3edcc
2 changed files with 224 additions and 153 deletions
|
@ -3,7 +3,6 @@ from allauth.socialaccount.models import SocialAccount
|
|||
|
||||
class NoPasswordAuthBackend(ModelBackend):
|
||||
def authenticate(self, request, username=None, password=None, **kwargs):
|
||||
print("NoPasswordAuthBackend")
|
||||
# First, attempt normal authentication
|
||||
user = super().authenticate(request, username=username, password=password, **kwargs)
|
||||
if user is None:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue