Results 1 to 6 of 6

Thread: Remove "Remember me"

  1. #1
    Bagualas is offline Intermediate Member
    Join Date
    Jul 2008
    Posts
    17
    Rep Power
    7

    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!!

  2. #2
    tiger2000 is offline Elite Member
    Join Date
    May 2008
    Location
    Taiwan
    Posts
    296
    Rep Power
    7

    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".

  3. #3
    veronica is offline Outstanding Member
    Join Date
    Jun 2008
    Posts
    594
    Rep Power
    8

    Default

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

    in file /opt/zimbra/jetty/webapps/zimbra/WEB-INF/classes/messages/ZhMsg.properties

  4. #4
    Bagualas is offline Intermediate Member
    Join Date
    Jul 2008
    Posts
    17
    Rep Power
    7

    Default

    Thanks guys!

    I just found a way by editing the .jsp files and worked
    Thanks for the help

  5. #5
    borngunners is offline Advanced Member
    Join Date
    Jun 2009
    Posts
    195
    Rep Power
    6

    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?

  6. #6
    mmorse's Avatar
    mmorse is offline Moderator
    Join Date
    May 2006
    Location
    USA
    Posts
    6,242
    Rep Power
    21

    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:
    <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:
    <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.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Disable "Remember Me" checkbox in 5.x
    By oneworld95 in forum Administrators
    Replies: 6
    Last Post: 06-26-2013, 08:20 AM
  2. Replies: 3
    Last Post: 06-28-2009, 03:26 PM
  3. Replies: 2
    Last Post: 03-01-2009, 01:18 AM
  4. [SOLVED] "remember me" option timout
    By melody in forum Administrators
    Replies: 13
    Last Post: 08-01-2007, 06:45 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •