Skip to content

Commit adb47d5

Browse files
committed
Fixed an issue with user.is_authenticated being used as a method rather than a property.
- Legacy-Id: 15212
1 parent ad34a88 commit adb47d5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ietf/ietfauth/views.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -611,7 +611,7 @@ def login(request, extra_context=None):
611611
"to set a new password for your account.",
612612
}
613613
response = LoginView.as_view(extra_context=extra_context)(request)
614-
if isinstance(response, HttpResponseRedirect) and user.is_authenticated():
614+
if isinstance(response, HttpResponseRedirect) and user.is_authenticated:
615615
if require_consent:
616616
messages.warning(request, mark_safe("""
617617

0 commit comments

Comments
 (0)