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-on: http://review.typo3.org/41426


Reviewed-by: Andreas Fernandez's avatarAndreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez's avatarAndreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Felix Kopp's avatarFelix Kopp <felix-source@phorax.com>
Tested-by: Felix Kopp's avatarFelix Kopp <felix-source@phorax.com>
Reviewed-by: Wouter Wolters's avatarWouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters's avatarWouter Wolters <typo3@wouterwolters.nl>
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