diff options
Diffstat (limited to 'indra/newview/llpanellogin.cpp')
| -rw-r--r-- | indra/newview/llpanellogin.cpp | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/indra/newview/llpanellogin.cpp b/indra/newview/llpanellogin.cpp index 2cac860423..cf8fff8543 100644 --- a/indra/newview/llpanellogin.cpp +++ b/indra/newview/llpanellogin.cpp @@ -85,6 +85,25 @@ const S32 MAX_PASSWORD = 16; LLPanelLogin *LLPanelLogin::sInstance = NULL; +class LLLoginRefreshHandler : public LLCommandHandler +{ +public: + LLLoginRefreshHandler() : LLCommandHandler("login_refresh") { } + bool handle(const LLSD& tokens, const LLSD& queryMap) + { +#if LL_LIBXUL_ENABLED + if (LLStartUp::getStartupState() < STATE_LOGIN_CLEANUP) + { + LLPanelLogin::loadLoginPage(); + } +#endif + return true; + } +}; + +LLLoginRefreshHandler gLoginRefreshHandler; + + //parses the input url and returns true if afterwards //a web-login-key, firstname and lastname is set bool LLLoginHandler::parseDirectLogin(std::string url) |
