X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/88ece3cf8f702fc8c43abd627358d700eb0cf1c5..da99c7bcf4a8ec82d9bc1d0c75aaba6ba4cd69ea:/SL/Auth/LDAP.pm diff --git a/SL/Auth/LDAP.pm b/SL/Auth/LDAP.pm index ea9326275..70e963d47 100644 --- a/SL/Auth/LDAP.pm +++ b/SL/Auth/LDAP.pm @@ -2,6 +2,7 @@ package SL::Auth::LDAP; use English '-no_match_vars'; +use Scalar::Util qw(weaken); use SL::Auth::Constants qw(:all); use strict; @@ -17,6 +18,7 @@ sub new { my $self = {}; $self->{auth} = shift; + weaken $self->{auth}; bless $self, $type;