Skip to content
This repository was archived by the owner on May 26, 2020. It is now read-only.

Commit 5dbe798

Browse files
author
Samir Ahmed
committed
Remove emission of user_logged_in signal when the user is authenticated
1 parent f34a062 commit 5dbe798

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

rest_framework_jwt/authentication.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import jwt
22

3-
from django.contrib.auth.signals import user_logged_in
43
from django.utils.encoding import smart_text
54
from django.utils.translation import ugettext as _
65
from rest_framework import exceptions
@@ -42,7 +41,6 @@ def authenticate(self, request):
4241
raise exceptions.AuthenticationFailed()
4342

4443
user = self.authenticate_credentials(payload)
45-
user_logged_in.send(sender=user.__class__, request=request, user=user)
4644

4745
return (user, jwt_value)
4846

0 commit comments

Comments
 (0)