gtsocial-umbx

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit e55382acd6152e4375e2de77ce6f00ee797481b2
parent 09d6478d72fb91b7e18fbd96abebbfd574e02a6b
Author: Shadowfacts <me@shadowfacts.net>
Date:   Wed, 16 Feb 2022 10:16:47 -0500

Use type=email for email input (#400)

So that mobile devices with software keyboards use the email keyboard
and turn off autocorrect/autocapitalization
Diffstat:
Mweb/template/sign-in.tmpl | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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">