1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-02-05 11:24:15 +00:00

Add autocomplete attribute to WebUI

This helps the password manager to identify each field and provide
adequate actions.
This commit is contained in:
Chocobo1 2018-12-20 23:01:23 +08:00
parent 3772968f49
commit d133ccc69f
No known key found for this signature in database
GPG Key ID: 210D9C873253A68C
2 changed files with 3 additions and 3 deletions

View File

@ -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>

View File

@ -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>