We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 96001c5 commit 655e803Copy full SHA for 655e803
rest_framework/authentication.py
@@ -227,6 +227,6 @@ class RemoteUserAuthentication(BaseAuthentication):
227
header = "REMOTE_USER"
228
229
def authenticate(self, request):
230
- user = authenticate(remote_user=request.META.get(self.header))
+ user = authenticate(request=request, remote_user=request.META.get(self.header))
231
if user and user.is_active:
232
return (user, None)
0 commit comments