From 8ed928617d0af21e7afeb9aca0575c5a2e686ed7 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Tue, 21 Jun 2011 08:51:59 +0200 Subject: [PATCH] =?utf8?q?Passwort-=C3=84nderungen=20auch=20in=20der=20Ses?= =?utf8?q?sion=20speichern?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- SL/Auth.pm | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/SL/Auth.pm b/SL/Auth.pm index e01af9107..365ee2323 100644 --- a/SL/Auth.pm +++ b/SL/Auth.pm @@ -393,8 +393,14 @@ sub can_change_password { sub change_password { $main::lxdebug->enter_sub(); - my $self = shift; - my $result = $self->{authenticator}->change_password(@_); + my ($self, $login, $new_password) = @_; + + my $result = $self->{authenticator}->change_password($login, $new_password); + + $self->store_credentials_in_session(login => $login, + password => $new_password, + look_up_algorithm => 1, + auth => $self); $main::lxdebug->leave_sub(); -- 2.20.1