From 1860dda320a309067ae9faeaf8371aa772722fd5 Mon Sep 17 00:00:00 2001 From: Mr Chen Date: Mon, 18 Mar 2019 11:20:56 +0800 Subject: [PATCH] =?UTF-8?q?=E7=99=BB=E9=99=86=E6=8F=90=E7=A4=BA=E4=BC=98?= =?UTF-8?q?=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- route/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/route/__init__.py b/route/__init__.py index f96c0496f..ed9b6167c 100755 --- a/route/__init__.py +++ b/route/__init__.py @@ -177,8 +177,8 @@ def doLogin(): password = public.md5(password) if userInfo['username'] != username or userInfo['password'] != password: - public.writeLog('TYPE_LOGIN', public.getInfo( - "< a style='color: red'>密码错误,帐号:{1},密码:{2},登录IP:{3}", (('****', '******', request.remote_addr)))) + public.writeLog('用户登录', public.getInfo( + "密码错误,帐号:{1},密码:{2},登录IP:{3}", (('****', '******', request.remote_addr)))) return public.returnJson(False, public.getInfo("用户名或密码错误,您还可以尝试[{1}]次!", ('1'))) session['login'] = True