Fixed a bug in a form clean method.
- Legacy-Id: 15210
This commit is contained in:
parent
816f5de566
commit
eaff1f0825
|
@ -152,6 +152,7 @@ def get_person_form(*args, **kwargs):
|
|||
consent = self.cleaned_data.get('consent')
|
||||
if consent == False:
|
||||
raise forms.ValidationError("In order to modify your profile data, you must permit the IETF to use the uploaded data.")
|
||||
return consent
|
||||
|
||||
return PersonForm(*args, **kwargs)
|
||||
|
||||
|
|
Loading…
Reference in a new issue