Page MenuHomePhorge

D25639.1734747264.diff
No OneTemporary

D25639.1734747264.diff

diff --git a/src/applications/auth/controller/PhabricatorAuthStartController.php b/src/applications/auth/controller/PhabricatorAuthStartController.php
--- a/src/applications/auth/controller/PhabricatorAuthStartController.php
+++ b/src/applications/auth/controller/PhabricatorAuthStartController.php
@@ -31,7 +31,7 @@
$session_token = $request->getCookie(PhabricatorCookies::COOKIE_SESSION);
$did_clear = $request->getStr('cleared');
- if (strlen($session_token)) {
+ if (phutil_nonempty_string($session_token)) {
$kind = PhabricatorAuthSessionEngine::getSessionKindFromToken(
$session_token);
switch ($kind) {

File Metadata

Mime Type
text/plain
Expires
Sat, Dec 21, 02:14 (15 h, 39 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1021626
Default Alt Text
D25639.1734747264.diff (652 B)

Event Timeline