diff options
author | Devon G. Redekopp <devon@redekopp.com> | 2022-06-06 22:59:11 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-07 06:59:11 +0200 |
commit | 6fd7cd808c602887ed6cedc032a57301022285dd (patch) | |
tree | d1c06d4ebb69d6ec3791e1a1c25f074d0f4e306d | |
parent | 02224be83f0ff0774bb4addf559c77064f4f8617 (diff) |
gui: Disable autocomplete for user/password fields in settings (fixes #8376) (#8377)
Disable Chrome autofill username/password in GUI settings modal dialog.
-rw-r--r-- | gui/default/syncthing/settings/settingsModalView.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gui/default/syncthing/settings/settingsModalView.html b/gui/default/syncthing/settings/settingsModalView.html index 60da9b9ac7..dc2f3fd7c2 100644 --- a/gui/default/syncthing/settings/settingsModalView.html +++ b/gui/default/syncthing/settings/settingsModalView.html @@ -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> |