summaryrefslogtreecommitdiff
path: root/IkiWiki
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-07-11 22:06:57 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-07-11 22:06:57 +0000
commit06ffcb399dc1b50d2b0d6d6eeab8c4a7911b9f16 (patch)
tree7613f0286503f7c7d158dbcc69a94fd93bc05687 /IkiWiki
parenta9508d6ba85d93e6bbab31c17b6a72dd71109674 (diff)
<paravoid> you're right
<paravoid> I can't explain it <paravoid> but it's definitely fixing it <paravoid> I triple-checked...
Diffstat (limited to 'IkiWiki')
-rw-r--r--IkiWiki/CGI.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/IkiWiki/CGI.pm b/IkiWiki/CGI.pm
index ef5244145..21bb6ea38 100644
--- a/IkiWiki/CGI.pm
+++ b/IkiWiki/CGI.pm
@@ -102,6 +102,8 @@ sub cgi_signin ($$) { #{{{
{template_params("signin.tmpl")} : ""),
stylesheet => styleurl(),
);
+
+ decode_form_utf8($form);
$form->field(name => "name", required => 0);
$form->field(name => "do", type => "hidden");
@@ -117,8 +119,6 @@ sub cgi_signin ($$) { #{{{
}
if ($form->submitted) {
- decode_form_utf8($form);
-
# Set required fields based on how form was submitted.
my %required=(
"Login" => [qw(name password)],