Issue Bug Closed

#95599Password recovery explanation lacks the minimum length settings

Xavier Perseguers 10/12/21, 14:49 updated 10/04/22, 14:19

Description

Template PasswordRecovery/ShowChangePassword.html makes use of settings.newPasswordMinLength but this setting does not exist anymore.

Reason is a refactoring during #84262 where that setting got refactored as a validator only:

    passwordValidators {
      10 = TYPO3\CMS\Extbase\Validation\Validator\NotEmptyValidator
      20 {
        className = TYPO3\CMS\Extbase\Validation\Validator\StringLengthValidator
        options {
          minimum = {$styles.content.loginform.newPasswordMinLength}
        }
      }
    }

I suspect this may be related to former versions of TYPO3 as well.

Reviews 1