mirror of
https://we.phorge.it/source/phorge.git
synced 2025-01-10 23:01:04 +01:00
Fix GitHub login failure for user with username "0".
This commit is contained in:
parent
390dfa210d
commit
0e672e2435
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ final class PhabricatorLoginValidateController
|
||||||
|
|
||||||
$failures = array();
|
$failures = array();
|
||||||
|
|
||||||
if (!$request->getStr('phusr')) {
|
if (!strlen($request->getStr('phusr'))) {
|
||||||
throw new Exception(
|
throw new Exception(
|
||||||
"Login validation is missing expected parameters!");
|
"Login validation is missing expected parameters!");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue