mirror of
https://github.com/BeamMP/BeamMP-Launcher.git
synced 2025-07-01 23:46:59 +00:00
fix game breaking bug
This commit is contained in:
parent
b2e5b8d2d3
commit
6158069d4d
@ -69,10 +69,10 @@ std::string Login(const std::string& fields){
|
|||||||
if (d.contains("username")) {
|
if (d.contains("username")) {
|
||||||
Username = d["username"].get<std::string>();
|
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());
|
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>();
|
PublicKey = d["public_key"].get<std::string>();
|
||||||
}
|
}
|
||||||
info("Authentication successful!");
|
info("Authentication successful!");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user