39 $objectManager = GeneralUtility::makeInstance(\
TYPO3\CMS\
Extbase\Object\ObjectManager::class);
40 $backendUserSessionRepository = $objectManager->get(\
TYPO3\CMS\Beuser\Domain\Repository\BackendUserSessionRepository::class);
41 $backendUserSessionRepository->switchBackToOriginalUser($authentication);
43 $uriBuilder = GeneralUtility::makeInstance(\
TYPO3\CMS\Backend\Routing\UriBuilder::class);
58 && is_array($authentication->user)
59 && (int)$authentication->user[
'uid'] > 0
60 && (
int)$authentication->user[
'ses_backuserid'] > 0;