X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/109b7f304eb81fa34622d4bdfdda0d9c09dbc570..211f4e60ebc94a7fd73564ca750f7f52f416773f:/SL/Auth.pm diff --git a/SL/Auth.pm b/SL/Auth.pm index 9f52a37e1..74a7d7fe5 100644 --- a/SL/Auth.pm +++ b/SL/Auth.pm @@ -140,14 +140,13 @@ sub _read_auth_config { } else { $self->{DB_config} = $::lx_office_conf{'authentication/database'}; - $self->{LDAP_config} = $::lx_office_conf{'authentication/ldap'}; } if ($self->{module} eq 'DB') { $self->{authenticator} = SL::Auth::DB->new($self); } elsif ($self->{module} eq 'LDAP') { - $self->{authenticator} = SL::Auth::LDAP->new($self); + $self->{authenticator} = SL::Auth::LDAP->new($::lx_office_conf{'authentication/ldap'}); } if (!$self->{authenticator}) {