forcePasswordChange breaks TYPO3 11
Hi,
I have a problem with the last extension version with TYPO3 11 LTS.
If I activate the forcePasswordChange
option, my installation breaks completely (no frontend oder backend is available). I was not logged in the TYPO3-Backend.
I get this two exceptions.
- on Backendside
str_starts_with(): Argument #1 ($haystack) must be of type string, null given in /var/www/vagrant/releases/20220208121918/public/typo3conf/ext/be_secure_pw/Classes/Utilities/PasswordExpirationUtility.php line 48
- on Frontend
Attempt to modify property "user" on null in /var/www/vagrant/releases/20220208121231/public/typo3conf/ext/be_secure_pw/Classes/Hook/RestrictModulesHook.php line 59
It seams that the $GLOBALS['BE_USER']
isn't set in this context. So the called hook RestrictModulesHook
don't work correct.
Best regards
Markus