diff options
author | Finn Behrens <me@kloenk.dev> | 2022-01-22 10:00:43 +0100 |
---|---|---|
committer | Finn Behrens <me@kloenk.dev> | 2022-01-22 10:00:43 +0100 |
commit | 832828961921866a5f0ef9d13b421748f3262f7f (patch) | |
tree | 4c32b836e90e4752f9bb890bc6711ceae6cafe84 /lib/pleroma/web/templates/o_auth/o_auth/register.html.eex | |
parent | 6ffe43af70cf69b4bfe1fff778685e907b5ef988 (diff) |
Add autocompelete values suggested by Apple
Link: https://developer.apple.com/documentation/security/password_autofill/enabling_password_autofill_on_an_html_input_element
Diffstat (limited to 'lib/pleroma/web/templates/o_auth/o_auth/register.html.eex')
-rw-r--r-- | lib/pleroma/web/templates/o_auth/o_auth/register.html.eex | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/pleroma/web/templates/o_auth/o_auth/register.html.eex b/lib/pleroma/web/templates/o_auth/o_auth/register.html.eex index 99f900fb7..3ac428b2f 100644 --- a/lib/pleroma/web/templates/o_auth/o_auth/register.html.eex +++ b/lib/pleroma/web/templates/o_auth/o_auth/register.html.eex @@ -12,11 +12,11 @@ <div class="input"> <%= label f, :nickname, "Nickname" %> - <%= text_input f, :nickname, value: @nickname %> + <%= text_input f, :nickname, value: @nickname, autocomplete: "username" %> </div> <div class="input"> <%= label f, :email, "Email" %> - <%= text_input f, :email, value: @email %> + <%= text_input f, :email, value: @email, autocomplete: "email" %> </div> <%= submit "Proceed as new user", name: "op", value: "register" %> @@ -25,11 +25,11 @@ <div class="input"> <%= label f, :name, "Name or email" %> - <%= text_input f, :name %> + <%= text_input f, :name, autocomplete: "username" %> </div> <div class="input"> <%= label f, :password, "Password" %> - <%= password_input f, :password %> + <%= password_input f, :password, autocomplete: "password" %> </div> <%= submit "Proceed as existing user", name: "op", value: "connect" %> |