We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 68ce998 commit 70f6d6bCopy full SHA for 70f6d6b
apps/users/serializers/login.py
@@ -99,7 +99,7 @@ def login(instance):
99
if captcha_cache is None or captcha.lower() != captcha_cache:
100
raise AppApiException(1005, _("Captcha code error or expiration"))
101
102
- user = QuerySet(User).filter(username=username, password=password_encrypt(password)).first()
+ user = QuerySet(User).filter(username=username, password=password).first()
103
if user is None:
104
record_login_fail(username)
105
raise AppApiException(500, _('The username or password is incorrect'))
0 commit comments