Diaspora: Checkbox to enable or disable user registrations

This commit is contained in:
Joseph Nuthalpati authored and James Valleroy committed 2017-07-29 12:40:44 -04:00
1 parent 3e38a3e3f1
commit 4abb7cd885
7 files changed
+103 -60

No files matched your search

+4 -1
View File
@@ -42,6 +42,9 @@ class DomainSelectionForm(forms.Form):
self.fields['domain_name'].choices = utils.get_domain_names()
domain_name = forms.ChoiceField(
label=_('Select the domain name to be used for this application'),
label=_('Select a domain name to be used with this application'),
help_text=_(
'Warning! The application may not work properly if domain name is changed later.'
),
choices=[]
)