fix more breaking bug

This commit is contained in:
Lion Kortlepel authored and Lion committed 2024-02-24 20:26:26 +01:00
1 parent 6158069d4d
commit 250be2ccdc
1 file changed
+1 -1
+1 -1
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();