Skip to content

Commit

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

* fixed static check
  • Loading branch information
geraj1010 authored and Lefteris Gilmaz committed Jan 5, 2025
1 parent bc8a7dd commit e210862
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 @@ -321,4 +321,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 e210862

Please sign in to comment.