Hello!
I would like to remove the "Remember me" option in the login screen.
Is that possible?
I also want to remove the option to change from HTML to AJAX.
Thanks!!
Hello!
I would like to remove the "Remember me" option in the login screen.
Is that possible?
I also want to remove the option to change from HTML to AJAX.
Thanks!!
never did that before, but did you check this file : /opt/zimbra/jetty/webapps/zimbra/public/login.jsp , do a keyword search for "remember".
Did you try to make switchToAdvancedClient = Advanced Version to switchToAdvancedClient =
in file /opt/zimbra/jetty/webapps/zimbra/WEB-INF/classes/messages/ZhMsg.properties
Thanks guys!
I just found a way by editing the .jsp files and worked
Thanks for the help
As tiger2000 points out above: /opt/zimbra/mailboxd/webapps/zimbra/public/login.jsp
cp login.jsp login.jsp.backup
nano login.jsp
Where it says:
Change to:<tr>
<td class="zLoginLabelContainer" ${smallScreen ? 'colspan=2' : ''}>${!smallScreen ? '</td><td>' : ''}
<table>
<tr>
<td><input id="remember" value="1" type="checkbox" name="zrememberme" /></td>
<td class="zLoginCheckboxLabelContainer" ${smallScreen?'style="white-space:normal;"':''}><label for="remember"><fmt:message
key="${smallScreen?'rememberMeMobile':'rememberMe' }"/></label></td>
</tr>
</table>
</td>
<td><input type="submit" class="zLoginButton"
value="<fmt:message key="login"/>"/></td>
</tr>
zmmailboxdctl restart<tr>
<td class="zLoginLabelContainer" ${smallScreen ? 'colspan=2' : ''}>${!smallScreen ? '</td><td>' : ''}
<table>
<tr>
</tr>
</table>
</td>
<td><input type="submit" class="zLoginButton"
value="<fmt:message key="login"/>"/></td>
</tr>
Note there's some other places where zrememberme is called, if you decided to remove those and only partially do so or leave extraneous spaces etc you might end up with a 500 error, simply restore the backup copy and restart again.
-Mike Morse (MCode151)
ZCS-to-ZCS Migrations & Moves | Admin Tools & Tidbits » ZimbraBlog.com | ZimbraCommunity.com
There are currently 1 users browsing this thread. (0 members and 1 guests)