diff options
| author | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2022-03-24 18:47:08 +0200 |
|---|---|---|
| committer | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2022-03-29 16:22:11 +0300 |
| commit | 3feb92046ff226c6d65a90ae948a0390e768ed48 (patch) | |
| tree | 03871cc19835cf3f0d6ef7de96a1ef41c48c0ed2 /indra/newview/lllogininstance.cpp | |
| parent | 73e668139d7efdcd49ef56b753170a0314f5e5b4 (diff) | |
SL-16831 Viewer stalls for 10 seconds before displaying a login failure
# Conflicts:
# indra/newview/llstartup.cpp
Diffstat (limited to 'indra/newview/lllogininstance.cpp')
| -rw-r--r-- | indra/newview/lllogininstance.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/newview/lllogininstance.cpp b/indra/newview/lllogininstance.cpp index 523d39da58..267f1d03ea 100644 --- a/indra/newview/lllogininstance.cpp +++ b/indra/newview/lllogininstance.cpp @@ -280,6 +280,11 @@ void LLLoginInstance::constructAuthParams(LLPointer<LLCredential> user_credentia mRequestData["params"] = request_params; mRequestData["options"] = requested_options; mRequestData["http_params"] = http_params; +#if LL_RELEASE_FOR_DOWNLOAD + mRequestData["wait_for_updater"] = !gSavedSettings.getBOOL("CmdLineSkipUpdater") && !LLAppViewer::instance()->isUpdaterMissing(); +#else + mRequestData["wait_for_updater"] = false; +#endif } bool LLLoginInstance::handleLoginEvent(const LLSD& event) |
