aboutsummaryrefslogtreecommitdiffstats
path: root/interface
diff options
context:
space:
mode:
authormoisseev <moiseev@mezonplus.ru>2021-12-18 20:44:39 +0300
committermoisseev <moiseev@mezonplus.ru>2021-12-18 20:44:39 +0300
commit6a2db7ef3845584274445b93b4aa98533b6be2e3 (patch)
treef4f871422268b1602fb3c5e78ba1ac45c0fb986c /interface
parent9752886d5dde4b2295d3b7b91e3ea23416eea641 (diff)
downloadrspamd-6a2db7ef3845584274445b93b4aa98533b6be2e3.tar.gz
rspamd-6a2db7ef3845584274445b93b4aa98533b6be2e3.zip
[WebUI] Fix saving credentials in password manager
for recent browser versions.
Diffstat (limited to 'interface')
-rw-r--r--interface/index.html5
1 files changed, 5 insertions, 0 deletions
diff --git a/interface/index.html b/interface/index.html
index 1b66cf329..2a5e181ae 100644
--- a/interface/index.html
+++ b/interface/index.html
@@ -589,6 +589,11 @@
<form id="connectForm">
<div class="form-group">
<div class="input-group">
+ <!-- In recent browser versions username is required to save credentials in a password manager.
+ Browser detects passwords by form.elements[n].type == "password" and then detects
+ the username field by searching backwards through form elements for the text field
+ immediately before the password fields. -->
+ <input value="Rspamd controller password" style="display: none;"/>
<input class="form-control"
type="password"
id="connectPassword"