mirror of
https://github.com/zulip/zulip.git
synced 2025-11-20 14:38:46 +00:00
forms: Fix check for whether terms of service are enabled.
This commit is contained in:
@@ -74,7 +74,7 @@ class RegistrationForm(forms.Form):
|
|||||||
required=False)
|
required=False)
|
||||||
realm_name = forms.CharField(max_length=100, 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)
|
terms = forms.BooleanField(required=True)
|
||||||
|
|
||||||
class ToSForm(forms.Form):
|
class ToSForm(forms.Form):
|
||||||
|
|||||||
Reference in New Issue
Block a user