mirror of
https://github.com/BeamMP/BeamMP-Launcher.git
synced 2025-07-01 15:36:10 +00:00
Print message from auth (#141)
This commit is contained in:
commit
8a8e0be1a1
@ -91,6 +91,7 @@ std::string Login(const std::string& fields) {
|
||||
if (d.contains("message")) {
|
||||
d.erase("private_key");
|
||||
d.erase("public_key");
|
||||
debug("Authentication result: " + d["message"].get<std::string>());
|
||||
return d.dump();
|
||||
}
|
||||
return GetFail("Invalid message parsing!");
|
||||
|
Loading…
x
Reference in New Issue
Block a user