mirror of
https://github.com/e107inc/e107.git
synced 2025-08-06 14:46:56 +02:00
Issue #1699 - work-in-progress
This commit is contained in:
@@ -213,8 +213,9 @@ class UserHandler
|
||||
*/
|
||||
public function CheckPassword($password, $login_name, $stored_hash)
|
||||
{
|
||||
$password = trim($password);
|
||||
|
||||
if(empty(trim($password)))
|
||||
if(empty($password))
|
||||
{
|
||||
return PASSWORD_INVALID;
|
||||
}
|
||||
|
Reference in New Issue
Block a user