mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-10-26 23:23:33 +03:00
Redesign Nextcloud OIDC login #1420
This commit is contained in:
parent
66c9091b88
commit
59fea00a31
6 changed files with 20 additions and 6 deletions
|
|
@ -152,6 +152,12 @@ class SnappyMailHelper
|
|||
if ($sPassword) {
|
||||
$sPassword = static::decodePassword($sPassword, $sUID);
|
||||
}
|
||||
if ($config->getAppValue('snappymail', 'snappymail-autologin-oidc', false) && $ocSession->get('is_oidc')) {
|
||||
$sAccessToken = $ocSession->get('oidc_access_token');
|
||||
if ($sAccessToken) {
|
||||
$sPassword = $sAccessToken;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// If the user has set credentials for SnappyMail in their personal
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue