Page MenuHomeIn-Portal Phabricator

D471.diff
No OneTemporary

File Metadata

Created
Mon, Jan 6, 3:25 AM

D471.diff

Index: branches/5.2.x/core/units/helpers/user_helper.php
===================================================================
--- branches/5.2.x/core/units/helpers/user_helper.php
+++ branches/5.2.x/core/units/helpers/user_helper.php
@@ -39,7 +39,7 @@
$this->event = new kEvent('u:OnLogin');
}
- if ( !$password && !$remember_login_cookie ) {
+ if ( (!$username || !$password) && !$remember_login_cookie ) {
return LoginResult::INVALID_PASSWORD;
}

Event Timeline