PasswordChangeEvent¶
New in version 10.4: This event replaces the $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['felogin']['password_changed']
hook from the pibase plugin.
The event contains information about the password that has been set and will be stored in the database shortly. It allows to mark the password as invalid.
Note
You can find a basic example implementation of a listener to this event in the chapter Listen to an event.
API¶
- class TYPO3\CMS\FrontendLogin\Event\PasswordChangeEvent¶
Event that contains information about the password which was set, and is about to be stored in the database.
Additional validation can happen here.
- getUser()¶
- Return type
array
- getHashedPassword()¶
- Return type
string
- setHashedPassword(string $passwordHash)¶
- Parameters
$passwordHash (
string
) -- the passwordHash
- getRawPassword()¶
- Return type
string
- setAsInvalid(string $message)¶
- Parameters
$message (
string
) -- the message
- getErrorMessage()¶
- Return type
string
- isPropagationStopped()¶
- Return type
bool