Log successful and failed login attempts in a separate log file
We log the login parameter and the request IP address. Quoting the ENS: > [op.acc.5.r5.1] Se registrarán los accesos con éxito y los fallidos.
This commit is contained in:
@@ -138,6 +138,9 @@ 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
|
||||
|
||||
# Set to true to enable devise user lockable feature
|
||||
config.devise_lockable = Rails.application.secrets.devise_lockable
|
||||
|
||||
|
||||
Reference in New Issue
Block a user