]> git.mxchange.org Git - friendica.git/commitdiff
Fix typo in Core\Authentication
authorHypolite Petovan <hypolite@mrpetovan.com>
Fri, 11 Oct 2019 23:57:04 +0000 (19:57 -0400)
committerHypolite Petovan <hypolite@mrpetovan.com>
Fri, 11 Oct 2019 23:57:04 +0000 (19:57 -0400)
src/Core/Authentication.php

index fd34dbc887a343a0abfe8231874a65310acc63da..d67a67bba59ea09c3986b2546411a82716dd30c9 100644 (file)
@@ -27,7 +27,7 @@ class Authentication extends BaseObject
        {
                return hash_hmac(
                        "sha256",
-                       hash_hmac("sha256", $user["password"], $user["privkey"]),
+                       hash_hmac("sha256", $user["password"], $user["prvkey"]),
                        Config::get("system", "site_prvkey")
                );
        }