Commit b3c025d1 authored by Frank Nägler's avatar Frank Nägler Committed by Felix Kopp
Browse files

[TASK] Provide backend user id in JavaScript backend config

Resolves: #68215
Releases: master
Change-Id: Idbb1ca69be8afad1857eacfdf39c315d75b33860

Reviewed-by: Andreas Fernandez's avatarAndreas Fernandez <>
Tested-by: Andreas Fernandez's avatarAndreas Fernandez <>
Reviewed-by: Felix Kopp's avatarFelix Kopp <>
Tested-by: Felix Kopp's avatarFelix Kopp <>
Reviewed-by: Wouter Wolters's avatarWouter Wolters <>
Tested-by: Wouter Wolters's avatarWouter Wolters <>
parent 37cd2d50
......@@ -577,6 +577,7 @@ class BackendController {
'PATH_typo3' => $pathTYPO3,
'PATH_typo3_enc' => rawurlencode($pathTYPO3),
'username' => htmlspecialchars($beUser->user['username']),
'userUid' => htmlspecialchars($beUser->user['uid']),
'uniqueID' => GeneralUtility::shortMD5(uniqid('', TRUE)),
'securityLevel' => trim($GLOBALS['TYPO3_CONF_VARS']['BE']['loginSecurityLevel']) ?: 'normal',
'TYPO3_mainDir' => TYPO3_mainDir,
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment