Browse Source

Merge pull request #10075 from Chocobo1/login

Add autocomplete attribute to WebUI
adaptive-webui-19844
Mike Tzou 6 years ago committed by GitHub
parent
commit
f3c65f34b6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/webui/www/private/preferences_content.html
  2. 4
      src/webui/www/public/login.html

2
src/webui/www/private/preferences_content.html

@ -716,7 +716,7 @@ @@ -716,7 +716,7 @@
<label for="webui_password_text">QBT_TR(Password:)QBT_TR[CONTEXT=OptionsDialog]</label>
</td>
<td>
<input type="password" id="webui_password_text" placeholder="QBT_TR(Change current password)QBT_TR[CONTEXT=OptionsDialog]" />
<input type="password" id="webui_password_text" placeholder="QBT_TR(Change current password)QBT_TR[CONTEXT=OptionsDialog]" autocomplete="new-password" />
</td>
</tr>
</table>

4
src/webui/www/public/login.html

@ -62,10 +62,10 @@ @@ -62,10 +62,10 @@
<form id="loginform">
<div class="row">
<label for="username">QBT_TR(Username)QBT_TR[CONTEXT=HttpServer]</label><br />
<input type="text" id="username" name="username" /></div>
<input type="text" id="username" name="username" autocomplete="username" /></div>
<div class="row">
<label for="password">QBT_TR(Password)QBT_TR[CONTEXT=HttpServer]</label><br />
<input type="password" id="password" name="password" /></div>
<input type="password" id="password" name="password" autocomplete="current-password" /></div>
<div class="row">
<input type="submit" id="login" value="QBT_TR(Login)QBT_TR[CONTEXT=HttpServer]" />
</div>

Loading…
Cancel
Save