Review main Merged

69270[BUGFIX] Fix success message of password reset command

Oli Bartsch CR +2 V +2 Easy +1 −1 updated 05/27/21, 11:27

Commit message

To prevent information disclosure, the password reset
process does not reveal if an email was sent or not. The
corresponding methods just return void.

However, the ResetPasswordCommand always displayed
a success message, which claims an email was sent,
even though this was not the case. An example would be
a password reset request which affects an admin user,
while "passwordResetForAdmins" is disabled.

In such cases, the message is highly misleading.

To fix this, the message now only informs about the
successfully initiated password reset process and not
whether an email was sent or not. This is now consistent
with the message in the backend user module.

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Issues 1

Files 1