<paravoid> you're right
<paravoid> I can't explain it <paravoid> but it's definitely fixing it <paravoid> I triple-checked...master
parent
a9508d6ba8
commit
06ffcb399d
|
@ -102,6 +102,8 @@ sub cgi_signin ($$) { #{{{
|
||||||
{template_params("signin.tmpl")} : ""),
|
{template_params("signin.tmpl")} : ""),
|
||||||
stylesheet => styleurl(),
|
stylesheet => styleurl(),
|
||||||
);
|
);
|
||||||
|
|
||||||
|
decode_form_utf8($form);
|
||||||
|
|
||||||
$form->field(name => "name", required => 0);
|
$form->field(name => "name", required => 0);
|
||||||
$form->field(name => "do", type => "hidden");
|
$form->field(name => "do", type => "hidden");
|
||||||
|
@ -117,8 +119,6 @@ sub cgi_signin ($$) { #{{{
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($form->submitted) {
|
if ($form->submitted) {
|
||||||
decode_form_utf8($form);
|
|
||||||
|
|
||||||
# Set required fields based on how form was submitted.
|
# Set required fields based on how form was submitted.
|
||||||
my %required=(
|
my %required=(
|
||||||
"Login" => [qw(name password)],
|
"Login" => [qw(name password)],
|
||||||
|
|
Loading…
Reference in New Issue