From: Alexandre Alapetite Date: Sun, 8 Apr 2018 12:42:18 +0000 (+0200) Subject: Remove legacy_password test X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=cb26cd6d5d5d1a34baf0ce48afd9bbb971b9b4e6;p=friendica.git Remove legacy_password test --- diff --git a/src/Model/User.php b/src/Model/User.php index abf4d1d3e4..ef495a45c2 100644 --- a/src/Model/User.php +++ b/src/Model/User.php @@ -133,7 +133,7 @@ class User } return $user['uid']; - } elseif (!empty($user['legacy_password']) || strpos($user['password'], '$') === false) { + } elseif (strpos($user['password'], '$') === false) { if (self::hashPasswordLegacy($password) === $user['password']) { self::updatePassword($user['uid'], $password);