mirror of
https://github.com/BeamMP/BeamMP-Launcher.git
synced 2026-10-26 06:00:09 +00:00
Print message from auth (#141)
This commit is contained in:
1 file changed
+1
@@ -91,6 +91,7 @@ std::string Login(const std::string& fields) {
|
|||||||
if (d.contains("message")) {
|
if (d.contains("message")) {
|
||||||
d.erase("private_key");
|
d.erase("private_key");
|
||||||
d.erase("public_key");
|
d.erase("public_key");
|
||||||
|
debug("Authentication result: " + d["message"].get<std::string>());
|
||||||
return d.dump();
|
return d.dump();
|
||||||
}
|
}
|
||||||
return GetFail("Invalid message parsing!");
|
return GetFail("Invalid message parsing!");
|
||||||
|
|||||||
Reference in new issue
Block a user