mirror of
https://github.com/the-djmaze/snappymail.git
synced 2024-12-26 09:03:48 +08:00
Change for #1420
This commit is contained in:
parent
19946fc551
commit
d2c59d2e1c
1 changed files with 3 additions and 4 deletions
|
@ -4,8 +4,8 @@ class NextcloudPlugin extends \RainLoop\Plugins\AbstractPlugin
|
|||
{
|
||||
const
|
||||
NAME = 'Nextcloud',
|
||||
VERSION = '2.29',
|
||||
RELEASE = '2024-01-12',
|
||||
VERSION = '2.30',
|
||||
RELEASE = '2024-02-05',
|
||||
CATEGORY = 'Integrations',
|
||||
DESCRIPTION = 'Integrate with Nextcloud v20+',
|
||||
REQUIRED = '2.27.0';
|
||||
|
@ -217,8 +217,7 @@ class NextcloudPlugin extends \RainLoop\Plugins\AbstractPlugin
|
|||
if ($sCustomEmail) {
|
||||
$sEmail = $sCustomEmail;
|
||||
}
|
||||
|
||||
if (!$sEmail && $this->Config()->Get('plugin', 'oidc', false)) {
|
||||
if ($this->Config()->Get('plugin', 'oidc', false)) {
|
||||
if (\OC::$server->getSession()->get('is_oidc')) {
|
||||
$sEmail = "{$sUID}@nextcloud";
|
||||
$aResult['DevPassword'] = \OC::$server->getSession()->get('oidc_access_token');
|
||||
|
|
Loading…
Reference in a new issue