summaryrefslogtreecommitdiff
path: root/IkiWiki
diff options
context:
space:
mode:
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)],