summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--indra/newview/llpanellogin.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/indra/newview/llpanellogin.cpp b/indra/newview/llpanellogin.cpp
index d787b69b5e..c6bcaeab07 100644
--- a/indra/newview/llpanellogin.cpp
+++ b/indra/newview/llpanellogin.cpp
@@ -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(),