FIRE-12905: Allow longer passwords in OpenSim

Ansariel 2014-12-15 12:33:54 +01:00
parent 5893dd1f10
commit 192e57328e
2 changed files with 7 additions and 0 deletions

View File

@ -1109,6 +1109,12 @@ void LLPanelLogin::updateServer()
// grid changed so show new splash screen (possibly)
updateServerCombo();
loadLoginPage();
// <FS:Ansariel> FIRE-12905: Allow longer passwords in OpenSim
#ifdef OPENSIM
sInstance->getChild<LLLineEditor>("password_edit")->setMaxTextLength(LLGridManager::getInstance()->isInSecondLife() ? 16 : 255);
#endif
// </FS:Ansariel>
}
catch (LLInvalidGridName ex)
{

View File

@ -115,6 +115,7 @@ tool_tip="The account name you chose when you registered, like bobsmith420 or St
width="128">
Password:
</text>
<!-- The max length might be changed in LLPanelLogin.cpp for Opensim! -->
<line_editor
follows="left|bottom"
height="22"