Skip to content

Commit d4b0578

Browse files
Add a dummy password field at the top of the form to prevent chrome from offering to save passwords
1 parent 18451e0 commit d4b0578

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

web/skins/classic/views/monitor.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -453,6 +453,7 @@ class="nav-link<?php echo ($tab == $name ? ' active' : '') . ' ' . (($name == 'z
453453
<!-- BEGIN ITEM LIST -->
454454
<div class="container-fluid" id="monitor">
455455
<form name="contentForm" id="contentForm" method="post" action="?view=monitor" autocomplete="off">
456+
<input type="password" name="dummy_password" style="display:none;"/><?php #to prevent chrome from saving passwords ?>
456457
<input type="hidden" name="tab" value="<?php echo $tab?>"/>
457458
<input type="hidden" name="mid" value="<?php echo $monitor->Id() ? $monitor->Id() : $mid ?>"/>
458459
<input type="hidden" name="origMethod" value="<?php echo (null !== $monitor->Method())?validHtmlStr($monitor->Method()):'' ?>"/>

0 commit comments

Comments
 (0)