Merge pull request #11082 from nextcloud/fix/10584/no_invalidate_token_oauth
Do not invalidate main token on OAuth
This commit is contained in:
commit
70a21de4c2
1 changed files with 3 additions and 3 deletions
|
@ -366,10 +366,10 @@ class ClientFlowLoginController extends Controller {
|
|||
|
||||
$serverPath = $protocol . "://" . $this->request->getServerHost() . $serverPostfix;
|
||||
$redirectUri = 'nc://login/server:' . $serverPath . '&user:' . urlencode($loginName) . '&password:' . urlencode($token);
|
||||
}
|
||||
|
||||
// Clear the token from the login here
|
||||
$this->tokenProvider->invalidateToken($sessionId);
|
||||
// Clear the token from the login here
|
||||
$this->tokenProvider->invalidateToken($sessionId);
|
||||
}
|
||||
|
||||
return new Http\RedirectResponse($redirectUri);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue