error = '用户未激活'

pull/26/head
liuzheng712 2015-11-07 09:09:36 +08:00
parent 4ddddc134a
commit 6897d063c2
1 changed files with 2 additions and 0 deletions

View File

@ -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: