mirror of
https://github.com/codeninjasllc/discourse.git
synced 2025-03-14 00:50:14 -04:00
Add 'invite only' site setting
This commit is contained in:
parent
67ba33dee5
commit
24da1ab07e
2 changed files with 4 additions and 0 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue