diff options
| author | Igor Finagin <Igor@Finag.in> | 2025-08-25 14:42:02 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-08-25 14:42:02 +0300 |
| commit | d10c312e62e0abf6da64e21a55c51151e23d9929 (patch) | |
| tree | 54248c680149ff1d5b10e658663000c4888dc0e2 | |
| parent | 24a341146568446a0a787f7955581fa3531c40d5 (diff) | |
AutoFill OTP (#3381)
https://developer.apple.com/documentation/security/enabling-password-autofill-on-an-html-input-element
| -rw-r--r-- | web/html/login.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/web/html/login.html b/web/html/login.html index 69a8400f..b6dfc299 100644 --- a/web/html/login.html +++ b/web/html/login.html @@ -512,7 +512,7 @@ </a-input-password> </a-form-item> <a-form-item v-if="twoFactorEnable"> - <a-input autocomplete="totp" name="twoFactorCode" v-model.trim="user.twoFactorCode" + <a-input autocomplete="one-time-code" name="twoFactorCode" v-model.trim="user.twoFactorCode" placeholder='{{ i18n "twoFactorCode" }}' @keydown.enter.native="login"> <a-icon slot="prefix" type="key" :style="{ fontSize: '1rem' }"></a-icon> </a-input> @@ -615,4 +615,4 @@ } }); </script> -{{ template "page/body_end" .}}
\ No newline at end of file +{{ template "page/body_end" .}} |
