From 3536b10acf223b33819153532841494c816d6375 Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Mon, 29 Apr 2013 15:10:23 -0700 Subject: [PATCH] Revert "Bug 10074 - Encoding problems at login time" This reverts commit 5805b5f363bd657d3dac6aeba225438bf80cae9b. Rolling back bug 6554 work until we have more comprehensive tests. --- C4/Auth.pm | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/C4/Auth.pm b/C4/Auth.pm index 811151b628..ca061b5284 100644 --- a/C4/Auth.pm +++ b/C4/Auth.pm @@ -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; } -- 2.39.5