mirror of
https://github.com/the-djmaze/snappymail.git
synced 2025-11-11 15:50:55 +08:00
Disable Nextcloud oidc
This commit is contained in:
parent
f6e3017b50
commit
d784c61076
1 changed files with 2 additions and 0 deletions
|
|
@ -227,6 +227,7 @@ class NextcloudPlugin extends \RainLoop\Plugins\AbstractPlugin
|
||||||
if ($sCustomEmail) {
|
if ($sCustomEmail) {
|
||||||
$sEmail = $sCustomEmail;
|
$sEmail = $sCustomEmail;
|
||||||
}
|
}
|
||||||
|
/*
|
||||||
if ($config->getAppValue('snappymail', 'snappymail-autologin-oidc', false)) {
|
if ($config->getAppValue('snappymail', 'snappymail-autologin-oidc', false)) {
|
||||||
if (\OC::$server->getSession()->get('is_oidc')) {
|
if (\OC::$server->getSession()->get('is_oidc')) {
|
||||||
$sEmail = "{$sUID}@nextcloud";
|
$sEmail = "{$sUID}@nextcloud";
|
||||||
|
|
@ -237,6 +238,7 @@ class NextcloudPlugin extends \RainLoop\Plugins\AbstractPlugin
|
||||||
} else {
|
} else {
|
||||||
\SnappyMail\Log::debug('Nextcloud', 'OIDC is off');
|
\SnappyMail\Log::debug('Nextcloud', 'OIDC is off');
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
$aResult['DevEmail'] = $sEmail ?: '';
|
$aResult['DevEmail'] = $sEmail ?: '';
|
||||||
} else if (!empty($aResult['ContactsSync'])) {
|
} else if (!empty($aResult['ContactsSync'])) {
|
||||||
$bSave = false;
|
$bSave = false;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue