spelling: password

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
Josh Soref 2023-03-26 18:36:31 -04:00
parent dc7576a13f
commit 68a5a99d8b
3 changed files with 5 additions and 5 deletions

View file

@ -816,14 +816,14 @@ class User
* Empties the password reset token field just in case.
*
* @param int $uid
* @param string $pasword_hashed
* @param string $password_hashed
* @return bool
* @throws Exception
*/
private static function updatePasswordHashed(int $uid, string $pasword_hashed): bool
private static function updatePasswordHashed(int $uid, string $password_hashed): bool
{
$fields = [
'password' => $pasword_hashed,
'password' => $password_hashed,
'pwdreset' => null,
'pwdreset_time' => null,
'legacy_password' => false