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.
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.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.