Fix GitHub login failure for user with username "0".

This commit is contained in:
epriestley
2012-09-13 16:47:00 -07:00
parent 390dfa210d
commit 0e672e2435

View File

@@ -28,7 +28,7 @@ final class PhabricatorLoginValidateController
$failures = array();
if (!$request->getStr('phusr')) {
if (!strlen($request->getStr('phusr'))) {
throw new Exception(
"Login validation is missing expected parameters!");
}