diff options
Diffstat (limited to 'pgcommitfest/auth.py')
-rw-r--r-- | pgcommitfest/auth.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pgcommitfest/auth.py b/pgcommitfest/auth.py index 4ae553b..87ffb0b 100644 --- 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) |