Final Commit v1.80

This commit is contained in:
Anonymous275
2020-12-22 00:25:29 +02:00
parent b802aa46ef
commit 5d996e5bc4
3 changed files with 6 additions and 4 deletions

View File

@@ -51,7 +51,8 @@ std::string Login(const std::string& fields){
if(!d["public_key"].IsNull()){
PublicKey = d["public_key"].GetString();
}
}
info("Authentication successful!");
}else info("Authentication failed!");
if(!d["message"].IsNull()){
d.RemoveMember("private_key");
d.RemoveMember("public_key");