mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Add 'invite only' site setting
This commit is contained in:
@@ -134,6 +134,8 @@ class SiteSetting < ActiveRecord::Base
|
||||
|
||||
setting(:send_welcome_message, true)
|
||||
|
||||
client_setting(:invite_only, false)
|
||||
|
||||
client_setting(:login_required, false)
|
||||
|
||||
client_setting(:enable_local_logins, true)
|
||||
|
||||
@@ -507,6 +507,8 @@ en:
|
||||
|
||||
# TODO: perhaps we need a way of protecting these settings for hosted solution, global settings ...
|
||||
|
||||
invite_only: "Public registration is disabled, new users must be invited"
|
||||
|
||||
login_required: "Require authentication to read posts"
|
||||
|
||||
enable_local_logins: "Enable local authentication"
|
||||
|
||||
Reference in New Issue
Block a user