diff --git a/src/Core/Authentication.php b/src/Core/Authentication.php index fd34dbc887..d67a67bba5 100644 --- a/src/Core/Authentication.php +++ b/src/Core/Authentication.php @@ -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") ); }