diff --git a/app/models/site_setting.rb b/app/models/site_setting.rb index 829993e388..40bea06ff1 100644 --- a/app/models/site_setting.rb +++ b/app/models/site_setting.rb @@ -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) diff --git a/config/locales/server.en.yml b/config/locales/server.en.yml index 5819336521..20884d459c 100644 --- a/config/locales/server.en.yml +++ b/config/locales/server.en.yml @@ -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"