mirror of
https://github.com/BeamMP/BeamMP-Launcher.git
synced 2026-10-21 07:57:10 +00:00
fix game breaking bug
This commit is contained in:
1 parent
b2e5b8d2d3
commit
6158069d4d
1 file changed
+2
-2
@@ -69,10 +69,10 @@ std::string Login(const std::string& fields){
|
||||
if (d.contains("username")) {
|
||||
Username = d["username"].get<std::string>();
|
||||
}
|
||||
if(!d.contains("private_key")) {
|
||||
if(d.contains("private_key")) {
|
||||
UpdateKey(d["private_key"].get<std::string>().c_str());
|
||||
}
|
||||
if(!d.contains("public_key")){
|
||||
if(d.contains("public_key")){
|
||||
PublicKey = d["public_key"].get<std::string>();
|
||||
}
|
||||
info("Authentication successful!");
|
||||
|
||||
Reference in new issue
Block a user