mirror of
https://github.com/zulip/zulip.git
synced 2025-11-19 05:58:25 +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)
|
||||
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):
|
||||
|
||||
Reference in New Issue
Block a user