summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--template/en/default/account/auth/login-small.html.tmpl3
-rw-r--r--template/en/default/account/auth/login.html.tmpl5
2 files changed, 6 insertions, 2 deletions
diff --git a/template/en/default/account/auth/login-small.html.tmpl b/template/en/default/account/auth/login-small.html.tmpl
index 7ca0a44d9..1f38f18b7 100644
--- a/template/en/default/account/auth/login-small.html.tmpl
+++ b/template/en/default/account/auth/login-small.html.tmpl
@@ -53,12 +53,15 @@
name="Bugzilla_login"
title="Login"
placeholder="email address"
+ type="email"
+ required
>
<input class="bz_password"
id="Bugzilla_password[% qs_suffix FILTER html %]"
name="Bugzilla_password"
type="password"
title="Password"
+ required
>
<input class="bz_password bz_default_hidden bz_mini_login_help" type="text"
id="Bugzilla_password_dummy[% qs_suffix %]" value="password"
diff --git a/template/en/default/account/auth/login.html.tmpl b/template/en/default/account/auth/login.html.tmpl
index 33aeaeaea..160fad43b 100644
--- a/template/en/default/account/auth/login.html.tmpl
+++ b/template/en/default/account/auth/login.html.tmpl
@@ -47,13 +47,14 @@
<div class="field-login">
<label for="Bugzilla_login">Email Address:</label>
<input id="Bugzilla_login" name="Bugzilla_login"
- [%- ' type="email"' UNLESS Param('emailsuffix') %]>
+ [%- ' type="email"' UNLESS Param('emailsuffix') %]
+ required>
[% Param('emailsuffix') FILTER html %]
</div>
<div class="field-password">
<label for="Bugzilla_password">Password:</label>
- <input type="password" id="Bugzilla_password" name="Bugzilla_password">
+ <input type="password" id="Bugzilla_password" name="Bugzilla_password" required>
</div>
[% IF Param('rememberlogin') == 'defaulton' ||