mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Add 'login required' site setting
This commit is contained in:
@@ -135,6 +135,8 @@ class SiteSetting < ActiveRecord::Base
|
||||
|
||||
setting(:send_welcome_message, true)
|
||||
|
||||
client_setting(:login_required, false)
|
||||
|
||||
client_setting(:enable_local_logins, true)
|
||||
client_setting(:enable_local_account_create, true)
|
||||
|
||||
|
||||
@@ -501,6 +501,8 @@ en:
|
||||
|
||||
# TODO: perhaps we need a way of protecting these settings for hosted solution, global settings ...
|
||||
|
||||
login_required: "Require authentication to read posts"
|
||||
|
||||
enable_local_logins: "Enable local authentication"
|
||||
enable_local_account_create: "Enable local account creation"
|
||||
enable_google_logins: "Enable Google authentication"
|
||||
|
||||
Reference in New Issue
Block a user