#新媒体管理

This commit is contained in:
Bob 2020-08-20 15:40:07 +08:00
parent d62223cdc0
commit 8abe1a2f5f
1 changed files with 1 additions and 1 deletions

View File

@ -61,7 +61,7 @@ def user_login(request):
else: else:
messages.error(request, '账号或密码错误,请您确认账号和密码') messages.error(request, '账号或密码错误,请您确认账号和密码')
except: except:
messages.error(request, '1111') messages.error(request, '账号或密码错误,请您确认账号和密码')
return render(request,'dashboard/login.html',{'hash_key':hash_key,'image_url':image_url}) return render(request,'dashboard/login.html',{'hash_key':hash_key,'image_url':image_url})
def user_logout(request): def user_logout(request):
logout(request) logout(request)