Copy sourceid= from create_account_url to login-page URL.
This allows the login-page server to respond to any sourceid= associated with the create_account_url, which (we happen to know) varies by skin -- e.g. for the Steam viewer.meow-7.2.2
parent
488362b0ac
commit
f346cbbdeb
|
|
@ -771,6 +771,14 @@ void LLPanelLogin::loadLoginPage()
|
|||
// add OS info
|
||||
params["os"] = LLAppViewer::instance()->getOSInfo().getOSStringSimple();
|
||||
|
||||
// sourceid: create_account_url's sourceid= varies by skin
|
||||
LLURI create_account_url(LLTrans::getString("create_account_url"));
|
||||
LLSD create_account_params(create_account_url.queryMap());
|
||||
if (create_account_params.has("sourceid"))
|
||||
{
|
||||
params["sourceid"] = create_account_params["sourceid"];
|
||||
}
|
||||
|
||||
// Make an LLURI with this augmented info
|
||||
LLURI login_uri(LLURI::buildHTTP(login_page.authority(),
|
||||
login_page.path(),
|
||||
|
|
|
|||
Loading…
Reference in New Issue