family uid
This commit is contained in:
@@ -2073,7 +2073,7 @@ long LoginWrenchBoardFamilyLogin(CVars in, CVars &out){
|
||||
try {
|
||||
REQ_STRING(in, "username", 5, 49, "(.*)");
|
||||
REQ_STRING(in, "pin", 4, 10, "(.*)");
|
||||
const PGresult *res = pgsql_query(" SELECT member_id AS parent_member_id, id AS family_id,* FROM members_family "
|
||||
const PGresult *res = pgsql_query(" SELECT member_id AS parent_member_id, id AS family_id,*, uid AS family_uid FROM members_family "
|
||||
" WHERE username='%s' AND pin='%s' ", in["username"].c_str(),in["pin"].c_str());
|
||||
if (res != NULL && pgsql_num_rows(res) > 0) {
|
||||
map<const char*, const char*>f = pgsql_fetch_assoc(res, 0);
|
||||
|
||||
Reference in New Issue
Block a user