From e89e57b5a0335218ba234dfc80280a27d4d34566 Mon Sep 17 00:00:00 2001 From: Lirusaito Date: Thu, 28 Feb 2019 13:56:18 -0500 Subject: [PATCH] [OpenSim] Feature Request: Allow passwords up to 24 characters long --- indra/newview/llpanellogin.cpp | 2 +- indra/newview/skins/default/xui/en-us/panel_login.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/indra/newview/llpanellogin.cpp b/indra/newview/llpanellogin.cpp index 6d873d0be..517bfb424 100644 --- a/indra/newview/llpanellogin.cpp +++ b/indra/newview/llpanellogin.cpp @@ -459,7 +459,7 @@ void LLPanelLogin::mungePassword(const std::string& password) } else { - LLMD5 pass((unsigned char *)utf8str_truncate(password, 16).c_str()); + LLMD5 pass((unsigned char *)utf8str_truncate(password, gHippoGridManager->getCurrentGrid()->isOpenSimulator() ? 24 : 16).c_str()); char munged_password[MD5HEX_STR_SIZE]; pass.hex_digest(munged_password); mMungedPassword = munged_password; diff --git a/indra/newview/skins/default/xui/en-us/panel_login.xml b/indra/newview/skins/default/xui/en-us/panel_login.xml index d1c875ad1..9a490a516 100644 --- a/indra/newview/skins/default/xui/en-us/panel_login.xml +++ b/indra/newview/skins/default/xui/en-us/panel_login.xml @@ -35,7 +35,7 @@