We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 159b5da commit bf3074eCopy full SHA for bf3074e
1 file changed
ietf/ietfauth/views.py
@@ -587,7 +587,7 @@ def login(request, extra_context=None):
587
#
588
require_consent = []
589
if user:
590
- if user.person and not user.person.consent:
+ if hasattr(user, 'person') and not user.person.consent:
591
person = user.person
592
if person.name != person.name_from_draft:
593
require_consent.append("full name")
0 commit comments