Review main Merged

77424[FEATURE] Add password policy validation for TCA type=password

Torben Hansen CR +2 V +2 Hard +248 −8 updated 03/23/23, 05:29

Commit message

It is now possible to assign a password policy to TCA fields of the
type `password`. For configured fields, the password policy validator
will be used in `DataHandler` to ensure, that the new password complies
with the configured password policy.

The TCA field `password` for the tables `be_users` and `fe_users`
now use the password policy configured in
`$GLOBALS['TYPO3_CONF_VARS']['FE']['passwordPolicy']` (fe_users) or
`$GLOBALS['TYPO3_CONF_VARS']['BE']['passwordPolicy']` (be_users)
by default.

If a password does not comply with the configured password policy,
the password is not saved, a warning is logged to `sys_log` and
a flash message is shown.

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Issues 1

Files 10