diff options
author | moisseev <moiseev@mezonplus.ru> | 2021-12-18 20:44:39 +0300 |
---|---|---|
committer | moisseev <moiseev@mezonplus.ru> | 2021-12-18 20:44:39 +0300 |
commit | 6a2db7ef3845584274445b93b4aa98533b6be2e3 (patch) | |
tree | f4f871422268b1602fb3c5e78ba1ac45c0fb986c /interface | |
parent | 9752886d5dde4b2295d3b7b91e3ea23416eea641 (diff) | |
download | rspamd-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.html | 5 |
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" |