mirror of
https://github.com/the-djmaze/snappymail.git
synced 2025-02-24 23:08:08 +08:00
ownCloud auth fixes
This commit is contained in:
parent
1a85330770
commit
5584c5037f
1 changed files with 5 additions and 2 deletions
|
@ -227,8 +227,9 @@ class ServiceActions
|
|||
public function ServiceOwnCloudAuth()
|
||||
{
|
||||
if (!\RainLoop\Utils::IsOwnCloud() ||
|
||||
empty($_ENV['___rainloop_owncloud_email']) &&
|
||||
!isset($_ENV['___rainloop_owncloud_password'])
|
||||
!isset($_ENV['___rainloop_owncloud_email']) ||
|
||||
!isset($_ENV['___rainloop_owncloud_password']) ||
|
||||
empty($_ENV['___rainloop_owncloud_email'])
|
||||
)
|
||||
{
|
||||
$this->oActions->SetAuthLogoutToken();
|
||||
|
@ -236,6 +237,8 @@ class ServiceActions
|
|||
return '';
|
||||
}
|
||||
|
||||
$bLogout = true;
|
||||
|
||||
$sEmail = $_ENV['___rainloop_owncloud_email'];
|
||||
$sPassword = $_ENV['___rainloop_owncloud_password'];
|
||||
|
||||
|
|
Loading…
Reference in a new issue