Commit 6897d063 authored by liuzheng712's avatar liuzheng712

error = '用户未激活'

parent 4ddddc13
......@@ -227,6 +227,8 @@ def Login(request):
# response.set_cookie('username', username, expires=604800)
# response.set_cookie('seed', PyCrypt.md5_crypt(password), expires=604800)
# return response
else:
error = '用户未激活'
else:
error = '用户名或密码错误'
else:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment