Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Does anyone know how to change the message when a user clicks the 'Forgot Password' button?

Andy Hurley
Contributor
June 2, 2023

We have a mix of users that connect with Crowd managed accounts and Active Directory accounts (also via crowd) but those that use Active Directory cannot change their password via Confluence (same situation in Jira).

Unfortunately if a user clicks the 'Forgot Password' button they are presented with a message allowing them to request a reset password link but this will not work for AD users so we wish to change this message to explain that this will not work if their account is via active directory.

One day we may have all accounts vi AD and we can disable the button but for now we need it to still work for those with local accounts.

I have been searching the install directory to see where this text might be but I have not found it - maybe it is in the db?

Any suggestions?

Thanks.

1 answer

0 votes
Radek Dostál
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 2, 2023

So the obvious to say is there isn't a way to do it "in a good way", but that much you concluded already.

 

As far as the template goes, I found this velocity file which appears to correspond to the page:

(from installation directory)
$ find . -type f -name 'forgot*'
./confluence/forgotuserpassword.vm <----------
./confluence/forgotuserpassword-success.vm

 

This would however mean you would need to modify this for each node in the cluster, and possibly do that every single time that you do an upgrade.

 

It might actually be easier to add a javascript to Custom HTML (/admin/viewcustomhtml.action) and just change the content to whatever. That way you don't need to worry about modifying files, and the custom html persists in the db. So long as the javascript is done well, that is.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
8.2.0
TAGS
AUG Leaders

Atlassian Community Events