PasswordChangeEvent
The PSR-14 event \TYPO3\
contains information about the password that has been set and will be
stored in the database shortly.
Note
You can find a basic example implementation of a listener to this event in the chapter Listen to an event.
Deprecated since version 12.4
The Password
should not be used to validate user passwords,
since it is not possible to visualize to the user why a password has been
rejected. Therefore the following methods of the event are deprecated:
->set
As Invalid () ->get
Error Message () ->is
Propagation Stopped () ->set
Hashed Password ()
A custom password policy validator should be used to validate user passwords.
Example
Note
Currently, we do not have an example for this event. If you can provide a useful one, please open an issue with your code snippets or a pull request.
API
- class PasswordChangeEvent
-
- Fully qualified name
-
\TYPO3\
CMS\ Frontend Login\ Event\ Password Change Event
Informal event that contains information about the password which was set, and is about to be stored in the database.