mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-31 21:19:21 +03:00
Resolve #1746
This commit is contained in:
parent
ed41d8e45f
commit
61e7c00b62
2 changed files with 6 additions and 4 deletions
|
|
@ -109,6 +109,7 @@ class NextcloudPlugin extends \RainLoop\Plugins\AbstractPlugin
|
|||
&& \OC::$server->getSession()->get('is_oidc')
|
||||
&& $sNcEmail === $oSettings->username
|
||||
&& !$bAccountDefinedExplicitly
|
||||
&& $oAccount instanceof \RainLoop\Model\MainAccount
|
||||
// && $oClient->supportsAuthType('OAUTHBEARER') // v2.28
|
||||
) {
|
||||
$sAccessToken = \OC::$server->getSession()->get('oidc_access_token');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue