summaryrefslogtreecommitdiffstats
path: root/template/en/default/account/auth
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2007-01-18 07:27:09 +0100
committerlpsolit%gmail.com <>2007-01-18 07:27:09 +0100
commit7c0b9e7f84e5f10adc9df3a2590eef6d266b673a (patch)
treeb23a3d1cd6e922afebd6b16bff6f8c7fd6d1562a /template/en/default/account/auth
parent8a33252e3ac8d46230f3bf63eaef2b717900a878 (diff)
downloadbugzilla-7c0b9e7f84e5f10adc9df3a2590eef6d266b673a.tar.gz
bugzilla-7c0b9e7f84e5f10adc9df3a2590eef6d266b673a.tar.xz
Bug 299405: Attachments don't work if you need to log in again [ Undefined subroutine @ Fh::slice ] - Patch by Frédéric Buclin <LpSolit@gmail.com> r/a=justdave
Diffstat (limited to 'template/en/default/account/auth')
-rw-r--r--template/en/default/account/auth/login.html.tmpl5
1 files changed, 4 insertions, 1 deletions
diff --git a/template/en/default/account/auth/login.html.tmpl b/template/en/default/account/auth/login.html.tmpl
index 15ec4a477..f57efc113 100644
--- a/template/en/default/account/auth/login.html.tmpl
+++ b/template/en/default/account/auth/login.html.tmpl
@@ -31,11 +31,14 @@
onload = "document.forms['login'].Bugzilla_login.focus()"
%]
+[% USE Bugzilla %]
+
<p>
I need a legitimate login and password to continue.
</p>
-<form name="login" action="[% target FILTER html %]" method="POST">
+<form name="login" action="[% target FILTER html %]" method="POST"
+[%- IF Bugzilla.cgi.param("data") %] enctype="multipart/form-data"[% END %]>
<table>
<tr>
<th align="right"><label for="Bugzilla_login">Login:</label></th>