Changeset View
Changeset View
Standalone View
Standalone View
src/applications/auth/controller/PhabricatorLogoutController.php
Context not available. | |||||
// their cookies have some issues. We'll detect cookie issues when they | // their cookies have some issues. We'll detect cookie issues when they | ||||
// try to login again and tell them to clear any junk. | // try to login again and tell them to clear any junk. | ||||
$phsid = $request->getCookie(PhabricatorCookies::COOKIE_SESSION); | $phsid = $request->getCookie(PhabricatorCookies::COOKIE_SESSION); | ||||
if (strlen($phsid)) { | if (@strlen($phsid)) { | ||||
$session = id(new PhabricatorAuthSessionQuery()) | $session = id(new PhabricatorAuthSessionQuery()) | ||||
->setViewer($viewer) | ->setViewer($viewer) | ||||
->withSessionKeys(array($phsid)) | ->withSessionKeys(array($phsid)) | ||||
Context not available. |
Content licensed under Creative Commons Attribution-ShareAlike 4.0 (CC-BY-SA) unless otherwise noted; code licensed under Apache 2.0 or other open source licenses. · CC BY-SA 4.0 · Apache 2.0