Remove legacy_password test
This commit is contained in:
parent
129f6806f6
commit
cb26cd6d5d
|
@ -133,7 +133,7 @@ class User
|
||||||
}
|
}
|
||||||
|
|
||||||
return $user['uid'];
|
return $user['uid'];
|
||||||
} elseif (!empty($user['legacy_password']) || strpos($user['password'], '$') === false) {
|
} elseif (strpos($user['password'], '$') === false) {
|
||||||
if (self::hashPasswordLegacy($password) === $user['password']) {
|
if (self::hashPasswordLegacy($password) === $user['password']) {
|
||||||
self::updatePassword($user['uid'], $password);
|
self::updatePassword($user['uid'], $password);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue