From a0ede79720fef1f7f2aa54e90061ba90ee5ba83d Mon Sep 17 00:00:00 2001 From: Jared Camins-Esakov Date: Thu, 25 Apr 2013 22:32:57 -0400 Subject: [PATCH] Revert "Bug 10074 - Encoding problems at login time" This reverts commit 1ee3892529a0d920c555f357330316fdaff50e08. 6554 considered harmful. --- 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