Skip to content

Commit eaff1f0

Browse files
committed
Fixed a bug in a form clean method.
- Legacy-Id: 15210
1 parent 816f5de commit eaff1f0

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

ietf/ietfauth/forms.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,7 @@ def clean_consent(self):
152152
consent = self.cleaned_data.get('consent')
153153
if consent == False:
154154
raise forms.ValidationError("In order to modify your profile data, you must permit the IETF to use the uploaded data.")
155+
return consent
155156

156157
return PersonForm(*args, **kwargs)
157158

0 commit comments

Comments
 (0)