#101873With FeLogin using event PasswordChangeEvent and stop propagation with setAsInvalid() no error message is displayed
Description
- 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
Reviews 2
History 24
-
Gerrit Code Review pushed patch set 1 for main to change 80918 status
NewUnder Review 09/07/23, 12:09 -
Gerrit Code Review pushed patch set 1 for 12.4 to change 87374 12/05/24, 11:57
-
Anonymous commented and changed status
Under ReviewResolved done0 %100 % 01/23/25, 09:20 -
Benni Mack changed status
ResolvedClosed 12/02/25, 14:37
Applied in changeset commit:afd9a3be7706862ae1feaa35c811cc95567187fd.