projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d3d6cb3
)
Passwort-Ă„nderungen auch in der Session speichern
author
Moritz Bunkus
<m.bunkus@linet-services.de>
Tue, 21 Jun 2011 06:51:59 +0000
(08:51 +0200)
committer
Moritz Bunkus
<m.bunkus@linet-services.de>
Tue, 21 Jun 2011 06:51:59 +0000
(08:51 +0200)
SL/Auth.pm
patch
|
blob
|
history
diff --git
a/SL/Auth.pm
b/SL/Auth.pm
index
e01af91
..
365ee23
100644
(file)
--- 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();