mirror of https://github.com/jumpserver/jumpserver
error = '用户未激活'
parent
4ddddc134a
commit
6897d063c2
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue