Fixing a bug that was causing the installer to not check the password
correctly Signed-off-by: Joshua Ferraro <jmf@liblime.com>
This commit is contained in:
parent
aafcb600c1
commit
f14a897b90
|
|
@ -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'),
|
||||
|
|
|
|||
Loading…
Reference in New Issue