Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-20-2009, 05:21 AM
Member
 
Posts: 13
Default Remove "Remember me"

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!!
Reply With Quote
  #2 (permalink)  
Old 11-23-2009, 02:22 AM
Elite Member
 
Posts: 296
Default

never did that before, but did you check this file : /opt/zimbra/jetty/webapps/zimbra/public/login.jsp , do a keyword search for "remember".
Reply With Quote
  #3 (permalink)  
Old 11-23-2009, 08:04 AM
Outstanding Member
 
Posts: 594
Default

Did you try to make switchToAdvancedClient = Advanced Version to switchToAdvancedClient =

in file /opt/zimbra/jetty/webapps/zimbra/WEB-INF/classes/messages/ZhMsg.properties
Reply With Quote
  #4 (permalink)  
Old 11-23-2009, 12:53 PM
Member
 
Posts: 13
Default

Thanks guys!

I just found a way by editing the .jsp files and worked
Thanks for the help
Reply With Quote
  #5 (permalink)  
Old 12-01-2009, 02:30 AM
Advanced Member
 
Posts: 191
Default

Quote:
Originally Posted by Bagualas View Post
Thanks guys!

I just found a way by editing the .jsp files and worked
Thanks for the help
Can you please demonstrate how you did it. I will like to do that myself. I believe you will have to do it anytime you upgrade, right?
Reply With Quote
  #6 (permalink)  
Old 12-01-2009, 09:22 AM
Moderator
 
Posts: 6,236
Default

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:
Quote:
<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>
Change to:
Quote:
<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>
zmmailboxdctl restart

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.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.