图形验证码

This commit is contained in:
mkg
2021-08-26 12:12:39 +08:00
parent 233241c962
commit 3c1764e58d
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -35,7 +35,7 @@ def login_post():
req = request.form
username = req.get('username')
password = req.get('password')
code = req.get('captcha')
code = req.get('captcha').__str__().lower()
if not username or not password or not code:
return fail_api(msg="用户名或密码没有输入")