Remove legacy_password test

This commit is contained in:
Alexandre Alapetite 2018-04-08 14:42:18 +02:00
parent 129f6806f6
commit cb26cd6d5d

View file

@ -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);