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:
77ee93f
)
Bei Passwortänderung Login für Salzen übergeben
author
Moritz Bunkus
<m.bunkus@linet-services.de>
Thu, 23 Jun 2011 15:26:34 +0000
(17:26 +0200)
committer
Moritz Bunkus
<m.bunkus@linet-services.de>
Thu, 23 Jun 2011 15:26:34 +0000
(17:26 +0200)
SL/Auth/DB.pm
patch
|
blob
|
history
diff --git
a/SL/Auth/DB.pm
b/SL/Auth/DB.pm
index
520e3e2
..
3417c0d
100644
(file)
--- a/
SL/Auth/DB.pm
+++ b/
SL/Auth/DB.pm
@@
-70,7
+70,7
@@
sub change_password {
return ERR_BACKEND;
}
- $password = SL::Auth::Password->hash(password => $password) unless $is_crypted;
+ $password = SL::Auth::Password->hash(
login => $login,
password => $password) unless $is_crypted;
do_query($main::form, $dbh, qq|UPDATE auth."user" SET password = ? WHERE login = ?|, $password, $login);