Project

General

Profile

Actions

Bug #101873

open

With FeLogin using event PasswordChangeEvent and stop propagation with setAsInvalid() no error message is displayed

Added by Florian Rival 8 months ago. Updated 8 months ago.

Status:
Under Review
Priority:
Should have
Assignee:
-
Category:
Authentication
Target version:
-
Start date:
2023-09-07
Due date:
% Done:

0%

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

Description

How to reproduce :
  • add a listener for event PasswordChangeEvent
  • In the listener set
    public function __invoke(PasswordChangeEvent $event): void
    {
       $event->setAsInvalid('My error message');
    }
    
  • Insert FeLogin on a page and try to change password

The propagation is stopped and the process is redirected to action showChangePassword() but the error message 'My error message' is not displayed

Actions #1

Updated by Gerrit Code Review 8 months ago

  • Status changed from New to Under Review

Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/80918

Actions

Also available in: Atom PDF