mirror of
https://github.com/the-djmaze/snappymail.git
synced 2025-02-24 14:57:26 +08:00
Resolve #241 logout behavior
This commit is contained in:
parent
24b638cd82
commit
13980c4ee3
1 changed files with 1 additions and 1 deletions
|
@ -229,7 +229,7 @@ trait User
|
|||
|
||||
public function DoLogout() : array
|
||||
{
|
||||
$bMain = empty($_COOKIE[self::AUTH_ADDITIONAL_TOKEN_KEY]);
|
||||
$bMain = true; // empty($_COOKIE[self::AUTH_ADDITIONAL_TOKEN_KEY]);
|
||||
$this->Logout($bMain);
|
||||
$bMain && $this->ClearSignMeData();
|
||||
return $this->TrueResponse(__FUNCTION__);
|
||||
|
|
Loading…
Reference in a new issue