mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-13 03:27:39 +03:00
This commit is contained in:
parent
5882cc6051
commit
7db9fb36fa
1 changed files with 13 additions and 9 deletions
|
|
@ -39,6 +39,7 @@ class SnappyMailHelper
|
||||||
}
|
}
|
||||||
$bSave && $oConfig->Save();
|
$bSave && $oConfig->Save();
|
||||||
|
|
||||||
|
try {
|
||||||
$oActions = \RainLoop\Api::Actions();
|
$oActions = \RainLoop\Api::Actions();
|
||||||
if (!$oActions->getMainAccountFromToken(false)) {
|
if (!$oActions->getMainAccountFromToken(false)) {
|
||||||
$aCredentials = SnappyMailHelper::getLoginCredentials();
|
$aCredentials = SnappyMailHelper::getLoginCredentials();
|
||||||
|
|
@ -51,6 +52,9 @@ class SnappyMailHelper
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
} catch (\Throwable $e) {
|
||||||
|
// Ignore login failure
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($handle) {
|
if ($handle) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue