Revert "Avoid to create persistentSession during switching process"

This reverts commit 5707f40c5a.
This commit is contained in:
Christophe Maudoux 2020-10-03 13:05:51 +02:00
parent 89372fb2ce
commit 452594dbb5

View File

@ -208,10 +208,10 @@ sub _switchContext {
# Search user in database & create session
$req->steps( [
'getUser', 'setAuthSessionInfo',
'setSessionInfo', $self->p->groupsAndMacros,
'setLocalGroups', 'store',
'buildCookie'
'getUser', 'setAuthSessionInfo',
'setSessionInfo', $self->p->groupsAndMacros,
'setPersistentSessionInfo', 'setLocalGroups',
'store', 'buildCookie'
]
);
if ( my $error = $self->p->process($req) ) {