From e17d875206c699a187c2f235c634ad3b6ed4bf20 Mon Sep 17 00:00:00 2001 From: Bai Date: Tue, 30 Jun 2020 17:23:56 +0800 Subject: [PATCH] =?UTF-8?q?feat(login=20password=20ecrypt):=20=E7=99=BB?= =?UTF-8?q?=E5=BD=95=E5=AF=86=E7=A0=81=E5=8A=A0=E5=AF=86=E4=BC=A0=E8=BE=93?= =?UTF-8?q?2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/authentication/utils.py | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/authentication/utils.py b/apps/authentication/utils.py index 3bc9455d3..9d1c45d98 100644 --- a/apps/authentication/utils.py +++ b/apps/authentication/utils.py @@ -48,6 +48,7 @@ def check_user_valid(**kwargs): password = rsa_decrypt(password, rsa_private_key) except Exception as e: logger.error(e, exc_info=True) + logger.error('Need decrypt password => {}'.format(password)) return None, errors.reason_password_decrypt_failed user = authenticate(request, username=username,