Added autocomplete=new-password to more password fields to prevent browser from asking to save passwords

This commit is contained in:
johnnyq
2022-03-05 15:04:49 -05:00
parent d1ee7ce5aa
commit 1687fc61c8
10 changed files with 11 additions and 12 deletions

View File

@@ -46,12 +46,12 @@
<div class="input-group-prepend">
<span class="input-group-text"><i class="fa fa-fw fa-keyboard"></i></span>
</div>
<input type="password" class="form-control" name="meshcentral_secret" placeholder="Auto-generated on MeshCentral" value="<?php echo $config_meshcentral_secret; ?>">
<input type="password" class="form-control" name="meshcentral_secret" placeholder="Auto-generated on MeshCentral" value="<?php echo $config_meshcentral_secret; ?>" autocomplete="new-password">
</div>
</div>
<div class="form-group">
<div class="alert alert-warning" role="alert">
<div class="alert alert-warning">
This token/user only requires <b>read access</b> to MeshCentral and is stored in <b>plaintext</b>.
</div>
</div>