Skip to content

Commit a4e883a

Browse files
author
Till Brehm
committed
Prevent browser autofill to fill in password and user fields in ispconfig interface.
1 parent 531b043 commit a4e883a

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

interface/web/themes/blue/templates/main.tpl.htm

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@
2121
<script language="JavaScript" type="text/javascript">
2222
jQuery(document).ready(function() {
2323
loadInitContent();
24+
25+
$('form').attr('autocomplete','off');
2426

2527
$("#pageForm").submit(function(e){
2628
//Prevent form submit: e.preventDefault() in lists

interface/web/themes/default/templates/main.tpl.htm

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@
2121
<script language="JavaScript" type="text/javascript">
2222
jQuery(document).ready(function() {
2323
loadInitContent();
24+
25+
$('form').attr('autocomplete','off');
2426

2527
$("#pageForm").submit(function(e){
2628
//Prevent form submit: e.preventDefault() in lists

0 commit comments

Comments
 (0)