fix more breaking bug

This commit is contained in:
Lion Kortlepel 2024-02-09 14:59:05 +01:00 committed by Lion
parent 6158069d4d
commit 250be2ccdc

View File

@ -77,7 +77,7 @@ std::string Login(const std::string& fields){
}
info("Authentication successful!");
}else info("Authentication failed!");
if(!d.contains("message")){
if(d.contains("message")){
d.erase("private_key");
d.erase("public_key");
return d.dump();