Skip to content

Commit

Permalink
[v2-10-test] Set Autocomplete Off on Login Form - Main (#44929) (#44940)
Browse files Browse the repository at this point in the history
* #44019 - Set autocomplete to off for username and password login form

* fixed static check
(cherry picked from commit c77c7f0)

Co-authored-by: James Regan <[email protected]>
  • Loading branch information
2 people authored and kaxil committed Dec 17, 2024
1 parent bb5df2b commit ba72647
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions airflow/www/static/js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -286,4 +286,8 @@ $(document).ready(() => {

// Global Tooltip selector
$(".js-tooltip").tooltip();

// Turn off autocomplete for login form
$("#username:input")[0].autocomplete = "off";
$("#password:input")[0].autocomplete = "off";
});

0 comments on commit ba72647

Please sign in to comment.