Changeset View
Changeset View
Standalone View
Standalone View
src/applications/base/controller/PhabricatorController.php
Context not available. | |||||
$session_engine = new PhabricatorAuthSessionEngine(); | $session_engine = new PhabricatorAuthSessionEngine(); | ||||
$phsid = $request->getCookie(PhabricatorCookies::COOKIE_SESSION); | $phsid = $request->getCookie(PhabricatorCookies::COOKIE_SESSION); | ||||
if (strlen($phsid)) { | if (@strlen($phsid)) { | ||||
$session_user = $session_engine->loadUserForSession( | $session_user = $session_engine->loadUserForSession( | ||||
PhabricatorAuthSession::TYPE_WEB, | PhabricatorAuthSession::TYPE_WEB, | ||||
$phsid); | $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