summaryrefslogtreecommitdiff
path: root/indra/newview/llpanellogin.cpp
diff options
context:
space:
mode:
authorMnikolenko Productengine <mnikolenko@productengine.com>2021-08-13 18:23:33 +0300
committerMnikolenko Productengine <mnikolenko@productengine.com>2021-08-13 18:23:33 +0300
commit0124e8952bd71ef4d0ab83c3c6859191d7591809 (patch)
treecac0cafdf99b04f18328bb18a341f410a20b4425 /indra/newview/llpanellogin.cpp
parentceb752c1331235cc4b10b0431e4293873b785f21 (diff)
SL-15830 remove ancient "non-system grid" handling from the viewer
Diffstat (limited to 'indra/newview/llpanellogin.cpp')
-rw-r--r--indra/newview/llpanellogin.cpp10
1 files changed, 1 insertions, 9 deletions
diff --git a/indra/newview/llpanellogin.cpp b/indra/newview/llpanellogin.cpp
index 381b80fb66..0dfe5a2330 100644
--- a/indra/newview/llpanellogin.cpp
+++ b/indra/newview/llpanellogin.cpp
@@ -100,15 +100,7 @@ std::string get_user_key_from_name(const std::string &username)
std::string key = username;
LLStringUtil::trim(key);
LLStringUtil::toLower(key);
- if (!LLGridManager::getInstance()->isSystemGrid())
- {
- size_t separator_index = username.find_first_of(" ");
- if (separator_index == username.npos)
- {
- // CRED_IDENTIFIER_TYPE_ACCOUNT
- return key;
- }
- }
+
// CRED_IDENTIFIER_TYPE_AGENT
size_t separator_index = username.find_first_of(" ._");
std::string first = username.substr(0, separator_index);