Merge pull request #7729 from MrPetovan/develop

Fix typo in Core\Authentication
This commit is contained in:
Hypolite Petovan 2019-10-11 19:58:35 -04:00 committed by GitHub
commit bfcae2f79a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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