Skip to content
Snippets Groups Projects
Commit 550c250f authored by Markus Klein's avatar Markus Klein Committed by Georg Ringer
Browse files

[BUGFIX] Recover felogin password recovery functionality

If `FE|checkFeUserPid` is set, the storagePids must evaluate
to an empty set instead of the pid "0".

Resolves: #95119
Releases: main, 11.5
Change-Id: If749d465f6e4d474794f0818de7c67bf36d5475b
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/76773


Tested-by: default avatarcore-ci <typo3@b13.com>
Reviewed-by: default avatarGeorg Ringer <georg.ringer@gmail.com>
Tested-by: default avatarGeorg Ringer <georg.ringer@gmail.com>
parent 8b3eb1ac
No related branches found
No related tags found
No related merge requests found
......@@ -27,8 +27,8 @@ abstract class AbstractLoginFormController extends ActionController
*/
protected function getStorageFolders(): array
{
if ((bool)($GLOBALS['TYPO3_CONF_VARS']['FE']['checkFeUserPid'] ?? false) === false) {
return [0];
if (!($GLOBALS['TYPO3_CONF_VARS']['FE']['checkFeUserPid'] ?? false)) {
return [];
}
$storagePids = explode(',', $this->settings['pages'] ?? '');
$storagePids = array_map('intval', $storagePids);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment