mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-25 18:19:22 +03:00
Fix switching to another account on mobile (#1108)
This commit is contained in:
parent
c145137b25
commit
e8df1cdb57
3 changed files with 24 additions and 13 deletions
|
|
@ -1155,10 +1155,7 @@ class ServiceActions
|
|||
return $sResult;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function ServiceChange()
|
||||
private function changeAction()
|
||||
{
|
||||
$this->oHttp->ServerNoCache();
|
||||
|
||||
|
|
@ -1184,7 +1181,24 @@ class ServiceActions
|
|||
$this->oActions->AuthToken($oAccountToLogin);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function ServiceChangeMobile()
|
||||
{
|
||||
$this->changeAction();
|
||||
$this->oActions->Location('./?/Mobile/');
|
||||
return '';
|
||||
}
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function ServiceChange()
|
||||
{
|
||||
$this->changeAction();
|
||||
$this->oActions->Location('./');
|
||||
return '';
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue