Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/MHSanaei/3x-ui.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRizvan Nukhtarov <34610650+nukhtarov@users.noreply.github.com>2024-08-30 10:16:34 +0300
committerGitHub <noreply@github.com>2024-08-30 10:16:34 +0300
commit5d7de0858c0e67aca85bde3bb1ec14ad625ef3d9 (patch)
tree2eea9fc162cb384618bd991cbab343356bc1a216 /web/html/login.html
parentc0b88fe7366fc19149c7cfc9fc80bdd32e6b32dc (diff)
better autocomplete for password and token inputs (#2505)
Diffstat (limited to 'web/html/login.html')
-rw-r--r--web/html/login.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/web/html/login.html b/web/html/login.html
index ae6bfde5..102e4856 100644
--- a/web/html/login.html
+++ b/web/html/login.html
@@ -416,19 +416,19 @@
<a-col span="24">
<a-form>
<a-form-item>
- <a-input autocomplete="username" v-model.trim="user.username" placeholder='{{ i18n "username" }}'
+ <a-input autocomplete="username" name="username" v-model.trim="user.username" placeholder='{{ i18n "username" }}'
@keydown.enter.native="login" autofocus>
<a-icon slot="prefix" type="user" style="font-size: 16px;"></a-icon>
</a-input>
</a-form-item>
<a-form-item>
- <password-input autocomplete="current-password" icon="lock" v-model.trim="user.password"
+ <password-input autocomplete="password" name="password" icon="lock" v-model.trim="user.password"
placeholder='{{ i18n "password" }}'
@keydown.enter.native="login">
</password-input>
</a-form-item>
<a-form-item v-if="secretEnable">
- <password-input autocomplete="secret" icon="key" v-model.trim="user.loginSecret"
+ <password-input autocomplete="secret" name="secret" icon="key" v-model.trim="user.loginSecret"
placeholder='{{ i18n "secretToken" }}'
@keydown.enter.native="login">
</password-input>