Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-6847

Ability to remove "forgot password" link with external user management off

    • Icon: Suggestion Suggestion
    • Resolution: Answered
    • None
    • None
    • We collect Confluence feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

      We don't want the "forgot password" link on the login page to be available. I know the link goes away if you turn on external user management, but we are using LDAP and it says not to turn it on if you're using LDAP.

            [CONFSERVER-6847] Ability to remove "forgot password" link with external user management off

            jens added a comment -

            Nick,

            Please note that after you made the changes as described by Nicholas above, you will have to restart Confluence in order for the changes to show up.

            Cheers,
            Jens

            jens added a comment - Nick, Please note that after you made the changes as described by Nicholas above, you will have to restart Confluence in order for the changes to show up. Cheers, Jens

            Hi Nick,

            This can be solved by going into login.vm ( <instance dir>\confluence\login.vm ), searching for forgot and deleting the div that surrounds it:

            <div style="float:right;">
            <p>
            <a href="${req.contextPath}/forgotuserpassword.action">$action.getText("forgot.password")?</a>
            </p>
            </div>

            This file uses velocity, but it can be read like an html with ifs and ends. Essentially you're changing what page shows when login is called.
            Here's documentation of velocity:

            http://jakarta.apache.org/velocity/

            Cheers,
            Nicholas

            Nicholas Ilacqua [Atlassian] added a comment - Hi Nick, This can be solved by going into login.vm ( <instance dir>\confluence\login.vm ), searching for forgot and deleting the div that surrounds it: <div style="float:right;"> <p> <a href="${req.contextPath}/forgotuserpassword.action">$action.getText("forgot.password")?</a> </p> </div> This file uses velocity, but it can be read like an html with ifs and ends. Essentially you're changing what page shows when login is called. Here's documentation of velocity: http://jakarta.apache.org/velocity/ Cheers, Nicholas

              Unassigned Unassigned
              f0e2d372eac2 Nick Lomonte
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: