[FEATURE] Enable validation of password via hooks during password 14/59714/5
authorSascha Grötzner <typo3@007sascha.de>
Sun, 17 Feb 2019 10:53:23 +0000 (10:53 +0000)
committerAnja Leichsenring <aleichsenring@ab-softlab.de>
Sat, 23 Feb 2019 19:12:05 +0000 (20:12 +0100)
commit23218f6a7560a37ce67391f2d3510ae54de22292
tree8a4712929db1cbbd1b7b98a19dfb6dca0eb78aef
parent7b320c723a59f677fefb56e12cc43da3fbcb4a08
[FEATURE] Enable validation of password via hooks during password
changes

Add a new $_param variable "passwordValid" and
"passwordInvalidMessage" process via Hook.
In the Hook to can do your own validation or other stuff and
set "passwordValid" to false an generate a Message to
"passwordInvalidMessage".
If $hookPasswordValid is false then the password is not set
in DB and the script runs its normal way. (it will redirect
to the PasswordChange Form an prints the
"passwordInvalidMessage")

Resolves: #87726
Releases: master
Change-Id: I89f37e7c5036254b40aa4fffe65a4e6cf2cc213f
Reviewed-on: https://review.typo3.org/c/59714
Tested-by: TYPO3com <noreply@typo3.com>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
typo3/sysext/core/Documentation/Changelog/master/Feature-87726-ExtendFrontendLoginControllerHookToValidatePassword.rst [new file with mode: 0644]
typo3/sysext/felogin/Classes/Controller/FrontendLoginController.php