Allow disable devise lockable through secrets

This commit is contained in:
taitus
2023-04-05 11:38:17 +02:00
parent a1955531e1
commit 873ec84b52
4 changed files with 11 additions and 1 deletions

View File

@@ -138,6 +138,9 @@ module Consul
config.paths["app/views"].unshift(Rails.root.join("app", "views", "custom"))
# Set to true to enable devise user lockable feature
config.devise_lockable = Rails.application.secrets.devise_lockable
# Set to true to enable managing different tenants using the same application
config.multitenancy = Rails.application.secrets.multitenancy
end