From f14a897b90f484cde39ae9d9f4b414e9fedb2d3e Mon Sep 17 00:00:00 2001 From: Chris Cormack Date: Fri, 10 Aug 2007 15:35:32 -0500 Subject: [PATCH] Fixing a bug that was causing the installer to not check the password correctly Signed-off-by: Joshua Ferraro --- installer/InstallAuth.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/installer/InstallAuth.pm b/installer/InstallAuth.pm index b443a13a93..e7864af933 100644 --- a/installer/InstallAuth.pm +++ b/installer/InstallAuth.pm @@ -240,7 +240,7 @@ sub checkauth { if ( $sessionID = $query->cookie("CGISESSID") ) { C4::Context->_new_userenv($sessionID); my $session = new CGI::Session("driver:File", $sessionID, {Directory=>'/tmp'}); - if ( $session ) { + if ( $session->param('cardnumber') ) { C4::Context::set_userenv( $session->param('number'), $session->param('id'), $session->param('cardnumber'), $session->param('firstname'), -- 2.39.5