From f725fa7712cbc53bc6bc9285ecfad3777f870a52 Mon Sep 17 00:00:00 2001 From: einhverfr Date: Thu, 14 Aug 2008 15:25:48 +0000 Subject: Applying patch 2013331 from Jeffk on configurable cookie names git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@2261 4979c152-3d1c-0410-bac9-87ea11338e46 --- bin/admin.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/admin.pl b/bin/admin.pl index c1fa2156..48101960 100644 --- a/bin/admin.pl +++ b/bin/admin.pl @@ -1020,7 +1020,7 @@ sub check_password { $cookie{$name} = $value; } - if ( !Session::session_check( $cookie{"LedgerSMB"}, $root ) ) { + if ( !Session::session_check( $cookie{${LedgerSMB::Sysconfig::cookie_name}}, $root ) ) { &adminlogin( $locale->text('Session expired!') ); exit; } -- cgit v1.2.3