Skip to content

Commit bca1f91

Browse files
n2ygkauvipy
authored andcommitted
Revert "Fix issue #636, pass request object to authenticate function. (#643)"
This reverts commit d5e6645.
1 parent eb381c3 commit bca1f91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

oauth2_provider/oauth2_validators.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -608,7 +608,7 @@ def validate_user(self, username, password, client, request, *args, **kwargs):
608608
"""
609609
Check username and password correspond to a valid and active User
610610
"""
611-
u = authenticate(request, username=username, password=password)
611+
u = authenticate(username=username, password=password)
612612
if u is not None and u.is_active:
613613
request.user = u
614614
return True

0 commit comments

Comments
 (0)