From d2c59d2e1c46d3c674349f978b469d0d5c4694db Mon Sep 17 00:00:00 2001 From: the-djmaze <> Date: Tue, 6 Feb 2024 14:24:56 +0100 Subject: [PATCH] Change for #1420 --- plugins/nextcloud/index.php | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/plugins/nextcloud/index.php b/plugins/nextcloud/index.php index 7389291ce..a15e530f4 100644 --- a/plugins/nextcloud/index.php +++ b/plugins/nextcloud/index.php @@ -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');