Skip to content
Snippets Groups Projects
Commit cc8faadf authored by Torben Hansen's avatar Torben Hansen Committed by Benni Mack
Browse files

[TASK] Respect usePasswordPolicyForFrontendUsers in TCA type=password


The feature toggle `security.usePasswordPolicyForFrontendUsers`
introduced in #97390 was added to allow TYPO3 administrators to
still use the deprecated TypoScript validators in ext:felogin
for the password reset process. In order to have a consistent
setup, the feature toggle must also be respected for frontend
users in DataHandler and FormEngine, so it is possible to set
any password, if the feature is turned off.

With this patch, a possible configured password policy for frontend
context (fe_users table) is ignored, if
`security.usePasswordPolicyForFrontendUsers` is set to `false`.

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


Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarOliver Bartsch <bo@cedev.de>
Reviewed-by: default avatarOliver Bartsch <bo@cedev.de>
Reviewed-by: default avatarBenni Mack <benni@typo3.org>
Tested-by: default avatarBenni Mack <benni@typo3.org>
parent f3a4e459
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