Add 'login required' site setting
This commit is contained in:
parent
93aa0a9f39
commit
85ceb5efa7
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue