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

Also available in: Atom PDF