w3c / validator-suite

Validator Suite
Other
56 stars 23 forks source link

The "reset password" action is not logged #337

Closed vivienlacourba closed 10 years ago

vivienlacourba commented 10 years ago

(Moving this comment to its own issue).

Tthe new reset password action is not logged.

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"