From 001c9ed259530aece1c2a1ff3d58936b2cb82007 Mon Sep 17 00:00:00 2001
From: Hypolite Petovan <hypolite@mrpetovan.com>
Date: Fri, 11 Oct 2019 19:57:04 -0400
Subject: [PATCH] Fix typo in Core\Authentication

---
 src/Core/Authentication.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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")
 		);
 	}