#102668Consider empty or invalid password policy reference
Description
In case $GLOBALS['TYPO3_CONF_VARS']['BE']['passwordPolicy'] is disabled or set to a preset that actually does not exist, the backend editing view should not issue JavaScript errors on the missing #password-policy-info element. Currently the following error appears in the browser console:
Uncaught TypeError: Cannot read properties of null (reading 'classList')
at HTMLInputElement.<anonymous> (password-element.js?bust=2e5226ec73ecf48bcbde72dd5fdea0b0252fc4ee:13:647)