summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Shadowfacts <me@shadowfacts.net>2022-02-16 10:16:47 -0500
committerLibravatar GitHub <noreply@github.com>2022-02-16 16:16:47 +0100
commite55382acd6152e4375e2de77ce6f00ee797481b2 (patch)
tree760889f704491b4a5d89c45d3d285fd47d3cd387
parent[bugfix] Only mark cookies as Secure on https (#398) (diff)
downloadgotosocial-e55382acd6152e4375e2de77ce6f00ee797481b2.tar.xz
Use type=email for email input (#400)
So that mobile devices with software keyboards use the email keyboard and turn off autocorrect/autocapitalization
-rw-r--r--web/template/sign-in.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/template/sign-in.tmpl b/web/template/sign-in.tmpl
index 48a833cee..4ca30a17b 100644
--- a/web/template/sign-in.tmpl
+++ b/web/template/sign-in.tmpl
@@ -4,7 +4,7 @@
<h1>Login</h1>
<form action="/auth/sign_in" method="POST">
<label for="email">Email</label>
- <input type="text" class="form-control" name="username" required placeholder="Please enter your email address">
+ <input type="email" class="form-control" name="username" required placeholder="Please enter your email address">
<label for="password">Password</label>
<input type="password" class="form-control" name="password" required placeholder="Please enter your password">