Skip to content

Commit 5e3b629

Browse files
committed
Another django 2.2 update
1 parent f67aa10 commit 5e3b629

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pgcommitfest/auth.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ def login(request):
7272
# Handle logout requests by logging out of this site and then
7373
# redirecting to log out from the main site as well.
7474
def logout(request):
75-
if request.user.is_authenticated():
75+
if request.user.is_authenticated:
7676
django_logout(request)
7777
return HttpResponseRedirect("%slogout/" % settings.PGAUTH_REDIRECT)
7878

0 commit comments

Comments
 (0)