summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authoreinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2008-08-14 15:25:48 +0000
committereinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2008-08-14 15:25:48 +0000
commitf725fa7712cbc53bc6bc9285ecfad3777f870a52 (patch)
tree96452e692a0073cd60b95aaea4a2cb324d11983e /bin
parentd89f332ed579df8ceb408bfec995da9ac4c1c573 (diff)
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
Diffstat (limited to 'bin')
-rw-r--r--bin/admin.pl2
1 files changed, 1 insertions, 1 deletions
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;
}