Revert "Bug 10074 - Encoding problems at login time"

This reverts commit 1ee3892529.
6554 considered harmful.
This commit is contained in:
Jared Camins-Esakov 2013-04-25 22:32:57 -04:00
parent abb1b2839c
commit a0ede79720
1 changed files with 8 additions and 5 deletions

View File

@ -19,7 +19,6 @@ package C4::Auth;
use strict;
use warnings;
use Digest::MD5 qw(md5_base64);
use Storable qw(thaw freeze);
use URI::Escape;
@ -1066,10 +1065,14 @@ sub checkauth {
LibraryName => C4::Context->preference("LibraryName"),
);
$template->param( %info );
require C4::Output;
C4::Output::output_html_with_http_headers( $query, $cookie,
$template->output);
# $cookie = $query->cookie(CGISESSID => $session->id
# );
print $query->header(
-type => 'text/html',
-charset => 'utf-8',
-cookie => $cookie
),
$template->output;
safe_exit;
}