#95780PHP Warning: Undefined array key "filemounts"
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.
Reviews 1
History 45
-
Christian Buelter changed description 10/26/21, 11:32
-
Christian Buelter changed description 10/26/21, 11:35
-
Gerrit Code Review pushed patch set 1 for master to change 71993 status
NewUnder Review 10/27/21, 07:43 -
Georg Ringer commented and changed status
Under ReviewResolved done0 %100 % 10/27/21, 19:05 -
Benni Mack changed status
ResolvedClosed 10/04/22, 14:13
Applied in changeset commit:a11869c03f95251b0fdf14353254c76dc5d19066.