wallet status

This commit is contained in:
CHIEFSOFT\ameye
2024-05-30 11:13:04 -04:00
parent 1f9b686b50
commit 01f923c513
+2 -1
View File
@@ -1483,7 +1483,7 @@ long WrenchResetMemberPass(CVars in, CVars &out) {
} }
}// if member_id }// if member_id
} catch (bad_parameter) { } catch (bad_parameter) {
out["log_status"] = "Invalid Log Action"; out["log_status"] = "Invalid Password Reset Action";
} }
logfmt(logINFO, "/long WrenchResetMemberPass(CVars in, CVars out)"); logfmt(logINFO, "/long WrenchResetMemberPass(CVars in, CVars out)");
return ret; return ret;
@@ -2463,6 +2463,7 @@ long LoginWrenchBoardAccount(CVars in, CVars &out) {
out["password"] = ""; out["password"] = "";
out["active_job_count"] = WrenchJobCount( out["member_id"].Long() ); out["active_job_count"] = WrenchJobCount( out["member_id"].Long() );
out["active_family_count"] = WrenchFamilyCount( out["member_id"].Long() ); out["active_family_count"] = WrenchFamilyCount( out["member_id"].Long() );
out["wallet_status"] = "-1";
LoginLogger(out["member_id"].Long(),login_mode); LoginLogger(out["member_id"].Long(),login_mode);
} else { } else {
out["status"] = "Session check failed"; out["status"] = "Session check failed";