Skip to content
Snippets Groups Projects
Commit 388e66b8 authored by Torben Hansen's avatar Torben Hansen Committed by Oliver Hader
Browse files

[FEATURE] Add PSR-14 event to enrich password validation ContextData


A new PSR-14 event `EnrichPasswordValidationContextDataEvent` is
introduced to allow extension authors to enrich the `ContextData` DTO
before a password is validated against a password policy.

Additionally, the `ContextData` DTO in the `PasswordReset` class
now includes the backend user username and realName attribute,
which can be used in custom password policy validators.

Resolves: #100294
Releases: main
Signed-off-by: default avatarTorben Hansen <derhansen@gmail.com>
Change-Id: I395a0eb75749c12c4beac3611c436209c07844cf
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/78259


Tested-by: default avatarOliver Hader <oliver.hader@typo3.org>
Tested-by: default avatarcore-ci <typo3@b13.com>
Reviewed-by: default avatarSimon Schaufelberger <simonschaufi+typo3@gmail.com>
Tested-by: default avatarBenni Mack <benni@typo3.org>
Reviewed-by: default avatarOliver Hader <oliver.hader@typo3.org>
parent 4f94e4f0
Branches
Tags
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment