Project

General

Profile

Actions

Bug #94200

closed

Reset password command wrongly states that a password reset email was sent

Added by Oliver Bartsch over 3 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Should have
Category:
CLI
Target version:
-
Start date:
2021-05-26
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
11
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

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

However, the ResetPasswordCommand will always display a success message Sent out an email to "" requesting to set a new password., as soon as the input arguments are valid and password reset is enabled. But in case a password reset for an admin user is requested, while passwordResetForAdmins is not enabled, no email will be sent. So the message is highly misleading.

To fix this, the message should only inform about the successfully initiated password reset process.

Actions

Also available in: Atom PDF