mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-11-03 10:58:50 +03:00
Prevent nextcloud impersonate plugin to login #561
This commit is contained in:
parent
6e4be76664
commit
1dbf2e909f
3 changed files with 14 additions and 3 deletions
|
|
@ -429,7 +429,7 @@ trait UserAuth
|
|||
Utils::SetCookie(self::AUTH_SPEC_LOGOUT_CUSTOM_MSG_KEY, $sMessage);
|
||||
}
|
||||
|
||||
protected function Logout(bool $bMain) : void
|
||||
public function Logout(bool $bMain) : void
|
||||
{
|
||||
Utils::ClearCookie(self::AUTH_ADDITIONAL_TOKEN_KEY);
|
||||
$bMain && Utils::ClearCookie(self::AUTH_SPEC_TOKEN_KEY);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue