expire added
This commit is contained in:
@@ -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";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user