summaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
authorbbaetz%student.usyd.edu.au <>2002-10-02 20:57:23 +0200
committerbbaetz%student.usyd.edu.au <>2002-10-02 20:57:23 +0200
commit7b1731d5ceeb67012942d872ab8d9ebb048b04c1 (patch)
treed9b2b28aad51fe11faec426f501355a5c6eab049 /template
parent52aac68c4e1538bd169fdb66a343ab6f7cf1e455 (diff)
downloadbugzilla-7b1731d5ceeb67012942d872ab8d9ebb048b04c1.tar.gz
bugzilla-7b1731d5ceeb67012942d872ab8d9ebb048b04c1.tar.xz
Bug 20122 - Bugzilla requires new login if IP changes
r=joel x2
Diffstat (limited to 'template')
-rw-r--r--template/en/default/account/login.html.tmpl23
1 files changed, 18 insertions, 5 deletions
diff --git a/template/en/default/account/login.html.tmpl b/template/en/default/account/login.html.tmpl
index 29b5b1aee..16a49580f 100644
--- a/template/en/default/account/login.html.tmpl
+++ b/template/en/default/account/login.html.tmpl
@@ -38,8 +38,8 @@
<form action="[% target %]" method="POST">
<table>
- [% IF Param("useLDAP") %]
- <tr>
+ <tr>
+ [% IF Param("useLDAP") %]
<td align="right">
<b>Username:</b>
</td>
@@ -54,9 +54,7 @@
<td>
<input type="password" size="10" name="LDAP_password">
</td>
- </tr>
- [% ELSE %]
- <tr>
+ [% ELSE %]
<td align="right">
<b>E-mail address:</b>
</td>
@@ -71,8 +69,23 @@
<td>
<input type="password" size="35" name="Bugzilla_password">
</td>
+ [% END %]
+ [% IF Param('loginnetmask') < 32 %]
+ <tr>
+ <td align="right">
+ <b>
+ Restrict this session<br>
+ to this IP address:
+ </b>
+ </td>
+ <td>
+ <input type="checkbox" name="Bugzilla_restrictlogin"
+ checked="checked">
+ (Using this option increases security)
+ </td>
</tr>
[% END %]
+ </tr>
</table>
[% PROCESS "global/hidden-fields.html.tmpl"