]> git.mxchange.org Git - friendica.git/blobdiff - src/Model/User.php
Merge remote-tracking branch 'upstream/2023.03-rc' into npf2
[friendica.git] / src / Model / User.php
index 5b749ec1dc7b8613a393f0c27be94245c0198336..66b4cf1ff66620edf790d9c7c2e3099a0b4d7e41 100644 (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