diff options
Diffstat (limited to 'LedgerSMB')
-rw-r--r-- | LedgerSMB/Auth.pm (renamed from LedgerSMB/Session.pm) | 8 | ||||
-rwxr-xr-x | LedgerSMB/Auth/DB.pm (renamed from LedgerSMB/Session/DB.pm) | 2 | ||||
-rw-r--r-- | LedgerSMB/User.pm | 2 |
3 files changed, 6 insertions, 6 deletions
diff --git a/LedgerSMB/Session.pm b/LedgerSMB/Auth.pm index dbc2d1c3..fec8209c 100644 --- a/LedgerSMB/Session.pm +++ b/LedgerSMB/Auth.pm @@ -12,12 +12,12 @@ # This is a simple abstraction layer allowing other session handling mechanisms # (For example Kerberos tickets) as the application progresses. -package Session; +package LedgerSMB::Auth; use LedgerSMB::Sysconfig; -if ( !${LedgerSMB::Sysconfig::session} ) { - ${LedgerSMB::Sysconfig::session} = 'DB'; +if ( !${LedgerSMB::Sysconfig::auth} ) { + ${LedgerSMB::Sysconfig::auth} = 'DB'; } -require "LedgerSMB/Session/" . ${LedgerSMB::Sysconfig::session} . ".pm"; +require "LedgerSMB/Auth/" . ${LedgerSMB::Sysconfig::auth} . ".pm"; diff --git a/LedgerSMB/Session/DB.pm b/LedgerSMB/Auth/DB.pm index 419ca5d3..da89711f 100755 --- a/LedgerSMB/Session/DB.pm +++ b/LedgerSMB/Auth/DB.pm @@ -27,7 +27,7 @@ # password_check - compares the password with the stored cryted password # (ver. < 1.2) and the md5 one (ver. >= 1.2) #==================================================================== -package Session; +package LedgerSMB::Auth; use MIME::Base64; use strict; diff --git a/LedgerSMB/User.pm b/LedgerSMB/User.pm index b5c5c757..e4654d9b 100644 --- a/LedgerSMB/User.pm +++ b/LedgerSMB/User.pm @@ -57,7 +57,7 @@ Deprecated package LedgerSMB::User; use LedgerSMB::Sysconfig; -use LedgerSMB::Session; +use LedgerSMB::Auth; use Data::Dumper; =item LedgerSMB::User->new($login); |