#106460Introduce Extbase Password Policy Validator
Description
As an Easy way to use the TYPO3\CMS\Core\PasswordPolicy\PasswordPolicyValidator in Extbase.
At the moment ppl need to check the for the password policy in their controller or implement the Extbase Validator themselves.
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.
History 3
-
Lina Wolf changed description <span data-processor="relativetime" data-value="2025-03-31T07:14:26+00:00" > 03/31/25, 07:14 </span>
-
Georg Ringer commented and changed status
NewRejected <span data-processor="relativetime" data-value="2025-04-01T16:53:41+00:00" > 04/01/25, 16:53 </span>thanks torben for clarification, closing issue
If extbase would provide an easy/simple validator, which just validates against a given password policy without providing flexiblity, this may only cover some usecases.
Password validation in general may however include additional validations/requirements like:
$acceptsEmptyValuesmay be true or false)Since
TYPO3\CMS\Core\PasswordPolicy\PasswordPolicyValidatoris public API, I think it would maybe be better to let developers implement the corePasswordPolicyValidatorinto their own validator to provide most flexibility and to avoid requiring to write additional custom validators to perform additional password validation tasks beside a possible “easy” extbase password policy validator.