expire added

This commit is contained in:
CHIEFSOFT\ameye
2023-11-13 11:53:52 -05:00
parent dbc8fb622f
commit ddf2f3135a
+1 -1
View File
@@ -2289,7 +2289,7 @@ long LoginWrenchBoardAccount(CVars in, CVars &out) {
} else {
// before we go -- may be sign up not completed
ret = load_db_record(out, "SELECT id AS pending_id,uid AS pending_uid,username FROM members_pending WHERE status=1 AND LOWER(username)=LOWER('%s')", in["username"].c_str());
ret = load_db_record(out, "SELECT id AS pending_id,uid AS pending_uid,username,country FROM members_pending WHERE status=1 AND LOWER(username)=LOWER('%s') AND expire>now() ", in["username"].c_str());
if (ret > 0) {
out["pending_status"] = "Pending signup found";
}