Prevent nextcloud impersonate plugin to login #561

This commit is contained in:
the-djmaze 2022-10-31 14:56:42 +01:00
parent 6e4be76664
commit 1dbf2e909f
3 changed files with 14 additions and 3 deletions

View file

@ -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);