projects
/
pgcommitfest2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f67aa10
)
Another django 2.2 update
author
Magnus Hagander
<magnus@hagander.net>
Fri, 10 Apr 2020 16:19:15 +0000
(18:19 +0200)
committer
Magnus Hagander
<magnus@hagander.net>
Fri, 10 Apr 2020 16:19:15 +0000
(18:19 +0200)
pgcommitfest/auth.py
patch
|
blob
|
blame
|
history
diff --git
a/pgcommitfest/auth.py
b/pgcommitfest/auth.py
index 4ae553b2f78f5080e6ca577c57fb9e95f87f8fbf..87ffb0b2adbcd45d956b7f625dc9ae29c7807bfa 100644
(file)
--- a/
pgcommitfest/auth.py
+++ b/
pgcommitfest/auth.py
@@
-72,7
+72,7
@@
def login(request):
# Handle logout requests by logging out of this site and then
# redirecting to log out from the main site as well.
def logout(request):
- if request.user.is_authenticated
()
:
+ if request.user.is_authenticated:
django_logout(request)
return HttpResponseRedirect("%slogout/" % settings.PGAUTH_REDIRECT)