Add superuser config for the invite-only feature

This commit is contained in:
Joseph Schorr 2017-09-14 16:27:52 -04:00
parent 804d3c46c3
commit 6a8e57a353

View file

@ -1218,8 +1218,20 @@
Enable Open User Creation
</div>
<div class="help-text">
If enabled, user accounts can be created by anyone.
Users can always be created in the users panel under this superuser view.
If enabled, user accounts can be created by anyone (unless restricted below to invited users).
Users can always be created in the users panel in this superuser tool, even if this feature is disabled.
</div>
</td>
</tr>
<tr ng-show="config.FEATURE_USER_CREATION && config.FEATURE_MAILING">
<td class="non-input">Invite-only User Creation:</td>
<td colspan="2">
<div class="config-bool-field" binding="config.FEATURE_INVITE_ONLY_USER_CREATION">
Enable Invite-only User Creation
</div>
<div class="help-text">
If enabled, user accounts can only be created when a user has been invited, by e-mail address, to join a team.
Users can always be created in the users panel in this superuser tool, even if this feature is enabled.
</div>
</td>
</tr>