feat: add registration control setting, invites (WIP)
Signed-off-by: Miguel Nogueira <me@nogueira.codes>
This commit is contained in:
@@ -200,6 +200,14 @@
|
||||
<p class="text-muted text-sm"><i class="fas fa-info-circle"></i> {{ __('Choose a game in the section below, if applicable.') }}</p>
|
||||
</div>
|
||||
|
||||
<div class="form-group form-check">
|
||||
<input type="hidden" name="enable_registrations" value="0">
|
||||
<input type="checkbox" name="enable_registrations" value="1" id="enable_registrations" class="form-check-input" {{ $features['enableRegistrations'] == true ? 'checked' : '' }}>
|
||||
<label for="enable_registrations">{{ __('Allow people to make new accounts?') }}</label>
|
||||
<p class="text-muted text-sm"><i class="fas fa-info-circle"></i> {{ __('Unchecking this box will stop people from signing up to :appName and disable the associated form. However, you will still be able to invite users and create new accounts from the administrative UI if you so choose.', ['appName' => config('app.name')]) }}</p>
|
||||
|
||||
</div>
|
||||
|
||||
</form>
|
||||
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user