Merge pull request #5324 from consuldemocracy/authentication-logs
Clarify authentication_logs secret
This commit is contained in:
@@ -139,7 +139,7 @@ module Consul
|
||||
config.paths["app/views"].unshift(Rails.root.join("app", "views", "custom"))
|
||||
|
||||
# Set to true to enable user authentication log
|
||||
config.authentication_logs = Rails.application.secrets.dig(:security, :authentication_logs) || false
|
||||
config.authentication_logs = Rails.application.secrets.authentication_logs || false
|
||||
|
||||
# Set to true to enable devise user lockable feature
|
||||
config.devise_lockable = Rails.application.secrets.devise_lockable
|
||||
|
||||
@@ -18,10 +18,10 @@ http_basic_auth: &http_basic_auth
|
||||
development:
|
||||
http_basic_username: "dev"
|
||||
http_basic_password: "pass"
|
||||
authentication_logs: false
|
||||
devise_lockable: false
|
||||
multitenancy: false
|
||||
security:
|
||||
authentication_logs: false
|
||||
last_sign_in: false
|
||||
password_complexity: false
|
||||
# lockable:
|
||||
@@ -55,12 +55,12 @@ staging:
|
||||
errbit_self_hosted_ssl: false
|
||||
http_basic_username: ""
|
||||
http_basic_password: ""
|
||||
authentication_logs: false
|
||||
devise_lockable: false
|
||||
managers_url: ""
|
||||
managers_application_key: ""
|
||||
multitenancy: false
|
||||
security:
|
||||
authentication_logs: false
|
||||
last_sign_in: false
|
||||
password_complexity: false
|
||||
# lockable:
|
||||
@@ -99,12 +99,12 @@ preproduction:
|
||||
errbit_self_hosted_ssl: false
|
||||
http_basic_username: ""
|
||||
http_basic_password: ""
|
||||
authentication_logs: false
|
||||
devise_lockable: false
|
||||
managers_url: ""
|
||||
managers_application_key: ""
|
||||
multitenancy: false
|
||||
security:
|
||||
authentication_logs: false
|
||||
last_sign_in: false
|
||||
password_complexity: false
|
||||
# lockable:
|
||||
@@ -148,12 +148,12 @@ production:
|
||||
errbit_self_hosted_ssl: false
|
||||
http_basic_username: ""
|
||||
http_basic_password: ""
|
||||
authentication_logs: false
|
||||
devise_lockable: false
|
||||
managers_url: ""
|
||||
managers_application_key: ""
|
||||
multitenancy: false
|
||||
security:
|
||||
authentication_logs: false
|
||||
last_sign_in: false
|
||||
password_complexity: false
|
||||
# lockable:
|
||||
|
||||
Reference in New Issue
Block a user