WebUI: try harder to prevent browsers from auto-filling in password fields

Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
This commit is contained in:
Nicola Murino
2022-11-03 19:57:43 +01:00
parent 676286182a
commit 965d059400
13 changed files with 30 additions and 30 deletions

View File

@@ -73,7 +73,7 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
<div class="form-group row">
<label for="idPassword" class="col-sm-2 col-form-label">Password</label>
<div class="col-sm-10">
<input type="password" class="form-control" id="idPassword" name="password" placeholder=""
<input type="password" class="form-control" id="idPassword" name="password" placeholder="" autocomplete="new-password"
{{if not .IsAdd}}aria-describedby="pwdHelpBlock" {{end}}>
{{if not .IsAdd}}
<small id="pwdHelpBlock" class="form-text text-muted">