mirror of
https://github.com/Mistake35/Cedar-Django.git
synced 2026-07-17 16:11:14 +10:00
Hotfix 1
ass
This commit is contained in:
@@ -393,7 +393,7 @@ def forgot_passwd(request):
|
||||
|
||||
def logout_page(request):
|
||||
"""Password email page / post endpoint."""
|
||||
if not request.user.is_authenticated or not request.user.is_active():
|
||||
if not request.user.is_authenticated or not request.user.is_active:
|
||||
if not request.user.is_authenticated:
|
||||
logout(request)
|
||||
r = HttpResponseForbidden("You are not logged in, so how can you possibly log out? You will be redirected to Wario Land 4 momentarily.", content_type='text/plain')
|
||||
|
||||
Reference in New Issue
Block a user