From 27c5a57fac903382eac1216fe06f259f858245c8 Mon Sep 17 00:00:00 2001 From: einhverfr Date: Thu, 1 Nov 2007 23:42:23 +0000 Subject: 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 --- scripts/login.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'scripts') 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; -- cgit v1.2.3