Remove the Can't access your account link from bamboo
Platform notice: Server and Data Center only. This article only applies to Atlassian products on the Server and Data Center platforms.
Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
The information in this page relates to customizations in Bamboo. Consequently, Atlassian Support cannot guarantee to provide any support for the steps described on this page as customizations are not covered under Atlassian Support Offerings. Please be aware that this material is provided for your information only and that you use it at your own risk.
Also, please be aware that customizations done by directly modifying files are not included in the upgrade process. These modifications will need to be reapplied manually on the upgraded instance.
Symptom
An administrator might want to hide the forgot password link from the log-in page to ensure that only Bamboo administrator can reset users password. This was tested in Bamboo 5.3 through Bamboo 7.2, and might not apply for newer versions.
Unsupported Resolution
Please apply the following configuration to your environment at your own risk.
- Make a copy of <BambooInstallDir>/atlassian-bamboo/login.ftl
- Look for a the two lines of code that looks like:
cancelUri='${req.contextPath}/forgotPassword.action' cancelSubmitKey='user.login.description'
- Remove the two lines above from the file. Make sure just the two lines are removed and no empty line is left in the file at that location.
- Restart Bamboo.
For other products please see Jira, Confluence, and Bitbucket.