1
0
Fork 0
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:
Sean Morley 2025-03-20 22:08:22 -04:00
parent 771579ef3d
commit 1042a3edcc
2 changed files with 224 additions and 153 deletions

View file

@ -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: