mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-13 03:27:39 +03:00
Don't clear SignMe cookie due conflict with new smctoken cookie.
This commit is contained in:
parent
543725dd42
commit
2aca295851
1 changed files with 4 additions and 2 deletions
|
|
@ -329,7 +329,8 @@ trait UserAuth
|
||||||
return $aResult;
|
return $aResult;
|
||||||
}
|
}
|
||||||
\SnappyMail\Log::notice(self::AUTH_SIGN_ME_TOKEN_KEY, 'invalid');
|
\SnappyMail\Log::notice(self::AUTH_SIGN_ME_TOKEN_KEY, 'invalid');
|
||||||
Utils::ClearCookie(self::AUTH_SIGN_ME_TOKEN_KEY);
|
// Don't clear due to smctoken cookie missing at initialization and login checkbox
|
||||||
|
// Utils::ClearCookie(self::AUTH_SIGN_ME_TOKEN_KEY);
|
||||||
}
|
}
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
@ -385,8 +386,9 @@ trait UserAuth
|
||||||
catch (\Throwable $oException)
|
catch (\Throwable $oException)
|
||||||
{
|
{
|
||||||
\SnappyMail\Log::warning(self::AUTH_SIGN_ME_TOKEN_KEY, $oException->getMessage());
|
\SnappyMail\Log::warning(self::AUTH_SIGN_ME_TOKEN_KEY, $oException->getMessage());
|
||||||
|
// Don't clear due to smctoken cookie missing at initialization and login checkbox
|
||||||
|
// $this->ClearSignMeData();
|
||||||
}
|
}
|
||||||
$this->ClearSignMeData();
|
|
||||||
}
|
}
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue