fix f
This commit is contained in:
@@ -2125,9 +2125,9 @@ long LoginWrenchBoardQRAccount(CVars in, CVars &out) {
|
||||
if (res != NULL && pgsql_num_rows(res) > 0) {
|
||||
map<const char*, const char*>f = pgsql_fetch_assoc(res,0);
|
||||
CVars inx;
|
||||
inx["username"] = res["username"]; res["username"].set_valid( true );
|
||||
inx["sessionid"] =res["pin"]; res["sessionid"].set_valid( true );
|
||||
inx["login_mode"] = LOGIN_MODE_FAMILY; res["login_mode"].set_valid( true );
|
||||
inx["username"] = f["username"]; inx["username"].set_valid( true );
|
||||
inx["sessionid"] =f["pin"]; inx["sessionid"].set_valid( true );
|
||||
inx["login_mode"] = LOGIN_MODE_FAMILY; inx["login_mode"].set_valid( true );
|
||||
return LoginWrenchBoardAccount(inx, out);
|
||||
}
|
||||
else{
|
||||
|
||||
Reference in New Issue
Block a user