Remove "Forgot Paassword" link in Confluence

Does anyone know how to remove the "Forgot Password" link in Confluence. I can easily do this in JIRA, but I can't find anything to do with Confluence itself.

This question is just for confluence, not crowd, or JIRA or anything else, just a standalone instance of Confluence.

2 answers

1 accepted

This widget could not be displayed.

You can add the following CSS

#forgot-password {

to the Global Stylesheet (Confluence Admin > Stylesheet (under Look and Feel)). This will remove the link from the login window.

Hope this helps!

That was easy. Thanks, it is exactly what I needed.

One more thing. If I want to remove the "Change Password" link under the user profile section, how can I do that? I tried using the same synatx above, only #change-password. It was a guess...naturally it didn't work. Any suggestions?

This widget could not be displayed.

I want to modify the "Change Password" text under the user profile section, how can I do that? Use case: most user passwords are managed via Active Directory. External users who are invited need to be able to change their password. When Active Directory users click Change Password, they get an ugly error message and are confused. We just want to post some short explanatory text next to the Change Password link so that Active Directory users don't try to change their password via Confluence.

I have just spent today doing this for JIRA and Confluence. So for Confluence when a user clicks "Forgot your password?" on the login page, I kindly remind them to use their AD username and password.

To do this edit the file ../confluence/forgotuserpassword.vm and replace the contents with this:






<content tag="bodyClass">login forgot-password</content>

<div id="login-container" class="userpassword-section">


#parse ( "/template/includes/actionerrors.vm" )

#if ($action.mailServerConfigured)


#decoratorParam("formName" "forgotpasswordform")

#decoratorParam("submitAction" "$req.contextPath/doforgotuserpassword.action")

#decoratorParam("editAction" "$req.contextPath/forgotuserpassword.action")

#decoratorParam("editMode" "true")

#decoratorParam("formStyle" "login-form-container")

<p>You must login with you Windows Username and Password.<br>


If you still have isues logging in, please contact your Administrators.<br>


<fieldset class="compact-form-fields">

<div class="field-group form-buttons compact-form-buttons">

<a href="${req.contextPath}/login.action" class="aui-button aui-style aui-button-link">Log In</a>

<a href="${req.contextPath}/contactadministrators.action" class="aui-button aui-style aui-button-link">Contact Administrators</a>






$action.getText("forgot.pass.nomailserver", ["$action.globalSettings.siteTitle", "$req.contextPath/contactadministrators.action"])


<p class="last">

<a href="${req.contextPath}/login.action" class="aui-button aui-style aui-button-primary">$action.getText("login.button")</a>






Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Monday in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

432 views 4 6
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you