Move authentication_logs secret out of security section

As this secret is currently not programmed to be customisable for each Tenant,
we take it out of the security section. The reason is that so far everything inside this security section can be overwritten per tenant. With this change we are trying
to prevent anyone from trying to overwrite it on a per Tenant basis, as it would have
no effect.
This commit is contained in:
taitus
2023-11-22 16:36:27 +01:00
parent a9fa73be83
commit 76128494aa
2 changed files with 5 additions and 5 deletions

View File

@@ -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