From: Moritz Bunkus Date: Tue, 21 Jun 2011 06:51:59 +0000 (+0200) Subject: Passwort-Ă„nderungen auch in der Session speichern X-Git-Tag: release-2.7.0beta1~375 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=8ed928617d0af21e7afeb9aca0575c5a2e686ed7;p=kivitendo-erp.git Passwort-Ă„nderungen auch in der Session speichern --- 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();