forms: Fix check for whether terms of service are enabled.

This commit is contained in:
Tim Abbott
2016-08-12 11:04:45 -07:00
parent 6fdd42c08b
commit f0e495831e

View File

@@ -74,7 +74,7 @@ class RegistrationForm(forms.Form):
required=False)
realm_name = forms.CharField(max_length=100, required=False)
if not settings.VOYAGER:
if settings.TERMS_OF_SERVICE:
terms = forms.BooleanField(required=True)
class ToSForm(forms.Form):