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:
Senén Rodero Rodríguez
2023-04-20 13:24:15 +02:00
parent 2aff3b73f9
commit b7073691f1
6 changed files with 143 additions and 0 deletions

View File

@@ -21,6 +21,7 @@ development:
devise_lockable: false
multitenancy: false
security:
authentication_logs: false
last_sign_in: false
password_complexity: false
# lockable:
@@ -59,6 +60,7 @@ staging:
managers_application_key: ""
multitenancy: false
security:
authentication_logs: false
last_sign_in: false
password_complexity: false
# lockable:
@@ -102,6 +104,7 @@ preproduction:
managers_application_key: ""
multitenancy: false
security:
authentication_logs: false
last_sign_in: false
password_complexity: false
# lockable:
@@ -150,6 +153,7 @@ production:
managers_application_key: ""
multitenancy: false
security:
authentication_logs: false
last_sign_in: false
password_complexity: false
# lockable: