Skip to content

Commit

Permalink
Print message from auth (#141)
Browse files Browse the repository at this point in the history
  • Loading branch information
lionkor authored Nov 5, 2024
2 parents 8938fd8 + e004166 commit 8a8e0be
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Security/Login.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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!");
Expand Down

0 comments on commit 8a8e0be

Please sign in to comment.