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:
1c385c6
)
Admin-Passwort immer gehasht speichern, auch wenn LDAP-Authentifizierung aktiv ist
author
Moritz Bunkus
<m.bunkus@linet-services.de>
Thu, 16 Jun 2011 08:31:25 +0000
(10:31 +0200)
committer
Moritz Bunkus
<m.bunkus@linet-services.de>
Thu, 16 Jun 2011 08:31:25 +0000
(10:31 +0200)
SL/Auth.pm
patch
|
blob
|
history
diff --git
a/SL/Auth.pm
b/SL/Auth.pm
index
5f3c65d
..
4158980
100644
(file)
--- a/
SL/Auth.pm
+++ b/
SL/Auth.pm
@@
-174,10
+174,7
@@
sub store_credentials_in_session {
sub store_root_credentials_in_session {
my ($self, $rpw) = @_;
- $rpw = SL::Auth::Password->hash_if_unhashed(login => 'root', password => $rpw)
- unless $self->{authenticator}->requires_cleartext_password;
-
- $self->set_session_value(rpw => $rpw);
+ $self->set_session_value(rpw => SL::Auth::Password->hash_if_unhashed(login => 'root', password => $rpw));
}
sub dbconnect {