fix: linter
This commit is contained in:
parent
5d121c1887
commit
9dca3c4300
|
@ -266,7 +266,7 @@ App::post('/v1/account/sessions/email')
|
|||
$response
|
||||
->addCookie(Auth::$cookieName . '_legacy', Auth::encodeSession($user->getId(), $secret), (new \DateTime($expire))->getTimestamp(), '/', Config::getParam('cookieDomain'), ('https' == $protocol), true, null)
|
||||
->addCookie(Auth::$cookieName, Auth::encodeSession($user->getId(), $secret), (new \DateTime($expire))->getTimestamp(), '/', Config::getParam('cookieDomain'), ('https' == $protocol), true, Config::getParam('cookieSamesite'))
|
||||
/** TODO: @christyjacob remove it after 1 month
|
||||
/** TODO: @christyjacob remove it after 1 month
|
||||
* Temporarily expire the old cookie to stop the client from sending it */
|
||||
->addCookie(Auth::$cookieName, Auth::encodeSession($user->getId(), $secret), (new \DateTime($expire))->getTimestamp() - 3600, '/', Config::getParam('cookieDomainReset'), ('https' == $protocol), true, Config::getParam('cookieSamesite'))
|
||||
->addCookie(Auth::$cookieName . '_legacy', Auth::encodeSession($user->getId(), $secret), (new \DateTime($expire))->getTimestamp() - 3600, '/', Config::getParam('cookieDomainReset'), ('https' == $protocol), true, null)
|
||||
|
|
|
@ -370,7 +370,7 @@ App::init()
|
|||
)
|
||||
);
|
||||
|
||||
/** TODO: @christyjacob remove it after 1 month
|
||||
/** TODO: @christyjacob remove it after 1 month
|
||||
* Temporarily expire the old cookie to stop the client from sending it */
|
||||
Config::getParam(
|
||||
'cookieDomainReset',
|
||||
|
|
Loading…
Reference in a new issue