diff options
Diffstat (limited to 'lib/private/User/Session.php')
-rw-r--r-- | lib/private/User/Session.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/private/User/Session.php b/lib/private/User/Session.php index ba909c81053..842d19d8d54 100644 --- a/lib/private/User/Session.php +++ b/lib/private/User/Session.php @@ -861,7 +861,7 @@ class Session implements IUserSession, Emitter { try { $sessionId = $this->session->getId(); - $this->tokenProvider->renewSessionToken($oldSessionId, $sessionId); + $token = $this->tokenProvider->renewSessionToken($oldSessionId, $sessionId); } catch (SessionNotAvailableException $ex) { return false; } catch (InvalidTokenException $ex) { @@ -870,7 +870,6 @@ class Session implements IUserSession, Emitter { } $this->setMagicInCookie($user->getUID(), $newToken); - $token = $this->tokenProvider->getToken($sessionId); //login $this->setUser($user); |