]> wagnertech.de Git - mfinanz.git/blobdiff - SL/Auth.pm
LDAP-Auth: Konfiguration über Konstruktur übergeben
[mfinanz.git] / SL / Auth.pm
index 9f52a37e1696c1c886e849a55f988fdd3515288e..74a7d7fe59480ac10bbb2f38eab422f6435e81ad 100644 (file)
@@ -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}) {