Update login.py

This commit is contained in:
Mr Chen
2025-01-07 18:43:39 +08:00
parent 0f410c29f7
commit 0bcf7edab5
+1
View File
@@ -200,6 +200,7 @@ def do_login():
info = thisdb.getUserByName(username)
password = mw.md5(password)
# print(info)
if info is None or info['name'] != username or info['password'] != password:
msg = "<a style='color: red'>密码错误</a>,帐号:{1},密码:{2},登录IP:{3}", (('****', '******', request.remote_addr))