summaryrefslogtreecommitdiff
path: root/lib/pleroma/web/templates/twitter_api/remote_follow/follow_login.html.eex
diff options
context:
space:
mode:
authorFinn Behrens <me@kloenk.dev>2022-01-22 10:00:43 +0100
committerFinn Behrens <me@kloenk.dev>2022-01-22 10:00:43 +0100
commit832828961921866a5f0ef9d13b421748f3262f7f (patch)
tree4c32b836e90e4752f9bb890bc6711ceae6cafe84 /lib/pleroma/web/templates/twitter_api/remote_follow/follow_login.html.eex
parent6ffe43af70cf69b4bfe1fff778685e907b5ef988 (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/twitter_api/remote_follow/follow_login.html.eex')
-rw-r--r--lib/pleroma/web/templates/twitter_api/remote_follow/follow_login.html.eex4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/pleroma/web/templates/twitter_api/remote_follow/follow_login.html.eex b/lib/pleroma/web/templates/twitter_api/remote_follow/follow_login.html.eex
index a8026fa9d..bc5fb28e3 100644
--- a/lib/pleroma/web/templates/twitter_api/remote_follow/follow_login.html.eex
+++ b/lib/pleroma/web/templates/twitter_api/remote_follow/follow_login.html.eex
@@ -5,9 +5,9 @@
<p><%= @followee.nickname %></p>
<img height="128" width="128" src="<%= avatar_url(@followee) %>">
<%= form_for @conn, Routes.remote_follow_path(@conn, :do_follow), [as: "authorization"], fn f -> %>
-<%= text_input f, :name, placeholder: "Username", required: true %>
+<%= text_input f, :name, placeholder: "Username", required: true, autocomplete: "username" %>
<br>
-<%= password_input f, :password, placeholder: "Password", required: true %>
+<%= password_input f, :password, placeholder: "Password", required: true, autocomplete: "password" %>
<br>
<%= hidden_input f, :id, value: @followee.id %>
<%= submit "Authorize" %>