Feature: #97389 - Add password policy validation for TCA type=password¶
It is now possible to assign a password policy to TCA fields of type
password. For configured fields, the password policy validator will be used
DataHandler to ensure that the new password complies with the configured
Password policy requirements are shown below the password field when the focus is changed to the password field.
The TCA field
password for tables
now by default the password policy configured in
$GLOBALS['TYPO3_CONF_VARS']['FE']['passwordPolicy'] (fe_users) or
'password_field' => [ 'label' => 'Password', 'config' => [ 'type' => 'password', 'passwordPolicy' => 'default', ], ],
This example will use the password policy
default for the field.
For TYPO3 frontend and backend users, the global password policy is used. A new password is not saved if it does not comply with the password policy.