mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-08 17:07:03 +03:00
Add more debug messages for #1420
This commit is contained in:
parent
f0d97b52d9
commit
66c9091b88
1 changed files with 4 additions and 0 deletions
|
|
@ -210,6 +210,8 @@ class NextcloudPlugin extends \RainLoop\Plugins\AbstractPlugin
|
||||||
$sEmail = $sUID;
|
$sEmail = $sUID;
|
||||||
} else if ($config->getAppValue('snappymail', 'snappymail-autologin-with-email', false)) {
|
} else if ($config->getAppValue('snappymail', 'snappymail-autologin-with-email', false)) {
|
||||||
$sEmail = $config->getUserValue($sUID, 'settings', 'email', '');
|
$sEmail = $config->getUserValue($sUID, 'settings', 'email', '');
|
||||||
|
} else {
|
||||||
|
\SnappyMail\Log::debug('Nextcloud', 'snappymail-autologin is off');
|
||||||
}
|
}
|
||||||
// If the user has set credentials for SnappyMail in their personal
|
// If the user has set credentials for SnappyMail in their personal
|
||||||
// settings, override everything before and use those instead.
|
// settings, override everything before and use those instead.
|
||||||
|
|
@ -224,6 +226,8 @@ class NextcloudPlugin extends \RainLoop\Plugins\AbstractPlugin
|
||||||
} else {
|
} else {
|
||||||
\SnappyMail\Log::debug('Nextcloud', 'Not an OIDC login');
|
\SnappyMail\Log::debug('Nextcloud', 'Not an OIDC login');
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
\SnappyMail\Log::debug('Nextcloud', 'OIDC is off');
|
||||||
}
|
}
|
||||||
$aResult['DevEmail'] = $sEmail ?: '';
|
$aResult['DevEmail'] = $sEmail ?: '';
|
||||||
} else if (!empty($aResult['ContactsSync'])) {
|
} else if (!empty($aResult['ContactsSync'])) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue