Page MenuHomePhorge

D25639.1734635118.diff
No OneTemporary

D25639.1734635118.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
Thu, Dec 19, 19:05 (20 h, 41 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1015407
Default Alt Text
D25639.1734635118.diff (652 B)

Event Timeline