Actions
Bug #95780
closedPHP Warning: Undefined array key "filemounts"
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2021-10-26
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
11
PHP Version:
8.0
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
When I use the "reset password" link in the TYPO3 backend login form, I get the following error message:
PHP Warning: Undefined array key "filemounts" in [..]/typo3/sysext/core/Classes/Authentication/BackendUserAuthentication.php line 1397
The user has no filemounts assigned.
The reset password function should work even if there are no file mounts set in the user or group record.
Before accessing
$this->groupData['filemounts']
in https://github.com/TYPO3/typo3/blob/3b7a862f15c35e1388cb5aef2b340de8994a449b/typo3/sysext/core/Classes/Authentication/BackendUserAuthentication.php#L1397 it should be checked if the array key exists.
Updated by Gerrit Code Review about 3 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/71993
Updated by Georg Ringer about 3 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset a11869c03f95251b0fdf14353254c76dc5d19066.
Actions