From 6158069d4d541f60a4641402a92d769663dca80c Mon Sep 17 00:00:00 2001 From: Lion Kortlepel Date: Fri, 9 Feb 2024 14:56:38 +0100 Subject: [PATCH] fix game breaking bug --- src/Security/Login.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Security/Login.cpp b/src/Security/Login.cpp index 08e9658..3eee7b7 100755 --- a/src/Security/Login.cpp +++ b/src/Security/Login.cpp @@ -69,10 +69,10 @@ std::string Login(const std::string& fields){ if (d.contains("username")) { Username = d["username"].get(); } - if(!d.contains("private_key")) { + if(d.contains("private_key")) { UpdateKey(d["private_key"].get().c_str()); } - if(!d.contains("public_key")){ + if(d.contains("public_key")){ PublicKey = d["public_key"].get(); } info("Authentication successful!");