PasswordChangeEvent¶
New in version 10.4
This event replaces the $GLOBALS
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 PasswordChangeEvent ¶
-
- Fully qualified name
-
\TYPO3\
CMS\ Frontend Login\ Event\ Password Change Event
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 ( ) ¶
-
- returntype
-
array
- getHashedPassword ( ) ¶
-
- returntype
-
string
- setHashedPassword ( string $passwordHash) ¶
-
- param string $passwordHash
-
the passwordHash
- getRawPassword ( ) ¶
-
- returntype
-
string
- setAsInvalid ( string $message) ¶
-
- param string $message
-
the message
- getErrorMessage ( ) ¶
-
- returntype
-
string
- isPropagationStopped ( ) ¶
-
- returntype
-
bool