#新媒体管理
This commit is contained in:
parent
d62223cdc0
commit
8abe1a2f5f
|
@ -61,7 +61,7 @@ def user_login(request):
|
|||
else:
|
||||
messages.error(request, '账号或密码错误,请您确认账号和密码')
|
||||
except:
|
||||
messages.error(request, '1111')
|
||||
messages.error(request, '账号或密码错误,请您确认账号和密码')
|
||||
return render(request,'dashboard/login.html',{'hash_key':hash_key,'image_url':image_url})
|
||||
def user_logout(request):
|
||||
logout(request)
|
||||
|
|
Loading…
Reference in New Issue