Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
TYPO3
sg_mail
Commits
16f064e5
Commit
16f064e5
authored
May 10, 2021
by
Kevin Ditscheid
Browse files
[BUGFIX] Fix broken session handling
parent
3ab75781
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
Classes/Controller/AbstractController.php
Classes/Controller/AbstractController.php
+2
-2
No files found.
Classes/Controller/AbstractController.php
View file @
16f064e5
...
...
@@ -63,7 +63,7 @@ abstract class AbstractController extends ActionController {
* @param BackendUserAuthentication $backendUserAuthentication
*/
public
function
injectBackendUserAuthentication
(
BackendUserAuthentication
$backendUserAuthentication
):
void
{
$this
->
backendUserAuthentication
=
$
backendUserAuthentication
;
$this
->
backendUserAuthentication
=
$
GLOBALS
[
'BE_USER'
]
;
}
/**
...
...
@@ -100,7 +100,7 @@ abstract class AbstractController extends ActionController {
* @param $data
*/
protected
function
writeToSession
(
string
$key
,
$data
):
void
{
$this
->
backendUserAuthentication
->
setSessionData
(
self
::
sessionKey
.
'_'
.
$key
,
$data
);
$this
->
backendUserAuthentication
->
set
AndSave
SessionData
(
self
::
sessionKey
.
'_'
.
$key
,
$data
);
}
/**
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment