Closed vivienlacourba closed 10 years ago
(Moving this comment to its own issue).
Tthe new reset password action is not logged.
reset password
proposed log messages:
Successful reset request:
[INFO] id=USER-ID action=reset email=vivien@doky.org token=1234 message="Reset confirmation sent"
Failed reset request:
[WARN] action=reset email=toto@example message="Unknown email address"
Failed reset confirmation for an invalid token:
[WARN] action=reset token=9876 message="Invalid token"
Failed reset confirmation if email does not match the token:
[WARN] id=USER-ID action=reset email=toto@example.com token=1234 message="Email does not match this account"
Successful reset:
[INFO] id=USER-ID action=reset email=vivien@doky.org token=1234 message="Password updated"
(Moving this comment to its own issue).
Tthe new
reset password
action is not logged.proposed log messages:
Successful reset request:
Failed reset request:
Failed reset confirmation for an invalid token:
Failed reset confirmation if email does not match the token:
Successful reset: