Revert "Bug 10019: Fix for userid containing UTF8 chars"

This reverts commit 7e90e1524f.

Rolling back bug 6554 work until we have more comprehensive tests.
This commit is contained in:
Galen Charlton 2013-04-29 15:05:22 -07:00
parent 11b62318f4
commit 327b6c6ce3

View file

@ -675,7 +675,6 @@ sub checkauth {
$ip = $session->param('ip');
$lasttime = $session->param('lasttime');
$userid = $session->param('id');
utf8::decode($userid);
$sessiontype = $session->param('sessiontype') || '';
}
if ( ( ($query->param('koha_login_context')) && ($query->param('userid') ne $session->param('id')) )
@ -751,7 +750,6 @@ sub checkauth {
-HttpOnly => 1
);
$userid = $query->param('userid');
utf8::decode($userid);
if ( ( $cas && $query->param('ticket') )
|| $userid
|| ( my $pki_field = C4::Context->preference('AllowPKIAuth') ) ne