FIRE-12905: Allow longer passwords in OpenSim
parent
5893dd1f10
commit
192e57328e
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Reference in New Issue