summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authoreinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2007-11-01 23:42:23 +0000
committereinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2007-11-01 23:42:23 +0000
commit27c5a57fac903382eac1216fe06f259f858245c8 (patch)
tree045c3d3cd84c99c9fa07f5d38668ff75f185e888 /scripts
parent01556e1128f60bd3252d6f31c73eeb797bec9d98 (diff)
Renaming the Session namespace to LedgerSMB::Auth
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1835 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'scripts')
-rw-r--r--scripts/login.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/login.pl b/scripts/login.pl
index c51b3fbd..1ce79587 100644
--- a/scripts/login.pl
+++ b/scripts/login.pl
@@ -4,6 +4,7 @@ our $VERSION = 1.0;
use LedgerSMB::Locale;
use LedgerSMB::Form; # Required for now to integrate with menu module.
use LedgerSMB::User;
+use LedgerSMB::Auth;
use strict;
sub __default {
@@ -63,7 +64,7 @@ sub logout {
my ($request) = @_;
$request->{callback} = "";
$request->{endsession} = 1;
- Session::session_destroy($request);
+ LedgerSMB::Auth::session_destroy($request);
print "Location: login.pl\n";
print "Content-type: text/html\n\n";
exit;