summaryrefslogtreecommitdiff
path: root/lib/pleroma/web/templates/o_auth/mfa/totp.html.eex
diff options
context:
space:
mode:
authorAlex Gleason <alex@alexgleason.me>2022-01-22 18:38:03 +0000
committerAlex Gleason <alex@alexgleason.me>2022-01-22 18:38:03 +0000
commit263b42a73d4834da0a8d80546ce2412861150e63 (patch)
treeca94af31ddffcc99821c99bc426248dc9b5b1aff /lib/pleroma/web/templates/o_auth/mfa/totp.html.eex
parent78c6aeee1b01a6b379de821d05d9f1e6a48b52f4 (diff)
parent832828961921866a5f0ef9d13b421748f3262f7f (diff)
Merge branch 'apple_autofill_suggestions' into 'develop'
Add autocompelete values suggested by Apple See merge request pleroma/pleroma!3612
Diffstat (limited to 'lib/pleroma/web/templates/o_auth/mfa/totp.html.eex')
-rw-r--r--lib/pleroma/web/templates/o_auth/mfa/totp.html.eex2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pleroma/web/templates/o_auth/mfa/totp.html.eex b/lib/pleroma/web/templates/o_auth/mfa/totp.html.eex
index 29ea7c5fb..27600253c 100644
--- a/lib/pleroma/web/templates/o_auth/mfa/totp.html.eex
+++ b/lib/pleroma/web/templates/o_auth/mfa/totp.html.eex
@@ -10,7 +10,7 @@
<%= form_for @conn, Routes.mfa_verify_path(@conn, :verify), [as: "mfa"], fn f -> %>
<div class="input">
<%= label f, :code, "Authentication code" %>
- <%= text_input f, :code, [autocomplete: false, autocorrect: "off", autocapitalize: "off", autofocus: true, pattern: "[0-9]*", spellcheck: false] %>
+ <%= text_input f, :code, [autocomplete: "one-time-code", autocorrect: "off", autocapitalize: "off", autofocus: true, pattern: "[0-9]*", spellcheck: false] %>
<%= hidden_input f, :mfa_token, value: @mfa_token %>
<%= hidden_input f, :state, value: @state %>
<%= hidden_input f, :redirect_uri, value: @redirect_uri %>