diff --git a/C4/Auth.pm b/C4/Auth.pm index a2d16c7f70..0a50e824d8 100644 --- a/C4/Auth.pm +++ b/C4/Auth.pm @@ -27,7 +27,7 @@ require Exporter; use C4::Context; use C4::Output; # to get the template use C4::Interface::CGI::Output; -use C4::Circulation::Circ2; # getpatroninformation +use C4::Members; # getpatroninformation # use Net::LDAP; # use Net::LDAP qw(:all); @@ -56,7 +56,8 @@ C4::Auth - Authenticates Koha users }); print $query->header( - -type => guesstype($template->output), + -type => "text/html", + -charset=>"utf-8", -cookie => $cookie ), $template->output; @@ -508,7 +509,8 @@ sub checkauth { -value => $sessionID, -expires => ''); print $query->header( - -type => guesstype($template->output), + -type => "text/html", + -charset=>"utf-8", -cookie => $cookie ), $template->output; exit;