How to Prevent Password Auto-completion in Bamboo

Still need help?

The Atlassian Community is here for you.

Ask the community



Platform notice: Server and Data Center only. This article only applies to Atlassian products on the server and data center platforms.

The content on this page includes steps to customize or extend Atlassian software (adding/changing CSS rules, HTML, JavaScript, etc.). Per the Atlassian Support Offerings, support does not include customizations made to Atlassian products. Be aware that this material is provided for your information only and using it is done so at your risk.

If you have any questions about this or any customization, please ask the community at Atlassian Answers or consider working with an Atlassian Solution Partner.

Purpose

Some organizations have security requirements that require the AutoComplete attribute to be set to "off" for Usernames and Passwords in form-based authentication. Bamboo does not prevent autocompletion by default. and this can be done by modifying the login form.

Solution

With a few modifications, the autocomplete=off attribute can be set for both the username and password fields. You will need to modify user login template to set autocomplete to off.

  1. Edit <BAMBVOO-INSTALLATION>atlassian-bamboo\template\simple\text.ftl
  2. Find the line

    <input type="text"[#rt/]

    And modify it to

    <input  autocomplete="off" type="text"[#rt/]
  3. Edit <BAMBVOO-INSTALLATION>atlassian-bamboo\template\simple\password.ftl
  4. Find the line

    <input type="password"<#rt/>

    And modify it to

    <input autocomplete="off" type="password"<#rt/>
  5. Save the files, and restart Bamboo Server

Last modified on Jun 8, 2020

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.