X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=sidebyside;f=SL%2FAuth.pm;h=e7f8f7bee37403a0de434236f81fdb00031fa807;hb=ad9563c88825c4810a1efa6f6290e6f1df17a282;hp=72e36978f378148accd5126f2ba36b619fa1d645;hpb=97ca71803894a306320729483111d02fa5d61cec;p=kivitendo-erp.git diff --git a/SL/Auth.pm b/SL/Auth.pm index 72e36978f..e7f8f7bee 100644 --- a/SL/Auth.pm +++ b/SL/Auth.pm @@ -1,18 +1,13 @@ package SL::Auth; -use constant OK => 0; -use constant ERR_PASSWORD => 1; -use constant ERR_BACKEND => 100; - -use constant SESSION_OK => 0; -use constant SESSION_NONE => 1; -use constant SESSION_EXPIRED => 2; +use DBI; use Digest::MD5 qw(md5_hex); use IO::File; use Time::HiRes qw(gettimeofday); use List::MoreUtils qw(uniq); +use SL::Auth::Constants qw(:all); use SL::Auth::DB; use SL::Auth::LDAP;