gui: Disable autocomplete for user/password fields in settings (fixes #8376) (#8377)

Disable Chrome autofill username/password in GUI settings modal dialog.
This commit is contained in:
Devon G. Redekopp 2022-06-06 22:59:11 -06:00 committed by GitHub
parent 02224be83f
commit 6fd7cd808c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -129,13 +129,13 @@
<div class="col-md-6">
<div class="form-group">
<label translate for="User">GUI Authentication User</label>
<input id="User" class="form-control" type="text" ng-model="tmpGUI.user" />
<input id="User" class="form-control" type="text" ng-model="tmpGUI.user" autocomplete="off" />
</div>
</div>
<div class="col-md-6">
<div class="form-group">
<label translate for="Password">GUI Authentication Password</label>
<input id="Password" class="form-control" type="password" ng-model="tmpGUI.password" ng-trim="false" />
<input id="Password" class="form-control" type="password" ng-model="tmpGUI.password" ng-trim="false" autocomplete="new-password" />
</div>
</div>
</div>