Skip to content

Commit

Permalink
Fix argument order in auth backend
Browse files Browse the repository at this point in the history
  • Loading branch information
Jake Rosenberg authored and Jake Rosenberg committed Oct 5, 2023
1 parent 17dbeeb commit 576932e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion designsafe/apps/auth/backends.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def __init__(self):

# Create an authentication method
# This is called by the standard Django login procedure
def authenticate(self, username=None, password=None, request=None, **kwargs):
def authenticate(self, request, username=None, password=None, **kwargs):
user = None
if username is not None and password is not None:
tas_user = None
Expand Down

0 comments on commit 576932e

Please sign in to comment.