Mon, 15 Dec 2014 12:33:54 +0100
FIRE-12905: Allow longer passwords in OpenSim
indra/newview/llpanellogin.cpp | file | annotate | diff | revisions | |
indra/newview/skins/default/xui/en/panel_login.xml | file | annotate | diff | revisions |
1.1 --- a/indra/newview/llpanellogin.cpp Mon Dec 15 10:55:13 2014 +0100 1.2 +++ b/indra/newview/llpanellogin.cpp Mon Dec 15 12:33:54 2014 +0100 1.3 @@ -1109,6 +1109,12 @@ 1.4 // grid changed so show new splash screen (possibly) 1.5 updateServerCombo(); 1.6 loadLoginPage(); 1.7 + 1.8 + // <FS:Ansariel> FIRE-12905: Allow longer passwords in OpenSim 1.9 +#ifdef OPENSIM 1.10 + sInstance->getChild<LLLineEditor>("password_edit")->setMaxTextLength(LLGridManager::getInstance()->isInSecondLife() ? 16 : 255); 1.11 +#endif 1.12 + // </FS:Ansariel> 1.13 } 1.14 catch (LLInvalidGridName ex) 1.15 {
2.1 --- a/indra/newview/skins/default/xui/en/panel_login.xml Mon Dec 15 10:55:13 2014 +0100 2.2 +++ b/indra/newview/skins/default/xui/en/panel_login.xml Mon Dec 15 12:33:54 2014 +0100 2.3 @@ -115,6 +115,7 @@ 2.4 width="128"> 2.5 Password: 2.6 </text> 2.7 + <!-- The max length might be changed in LLPanelLogin.cpp for Opensim! --> 2.8 <line_editor 2.9 follows="left|bottom" 2.10 height="22"