X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/1085fcebcf6bb39790162b89f3a9e59d00446d00..eb8ba4764dff48ed8e67a00c48d02c9e7c6e5de5:/SL/Auth/DB.pm diff --git a/SL/Auth/DB.pm b/SL/Auth/DB.pm index ab8788abd..0bbc05016 100644 --- a/SL/Auth/DB.pm +++ b/SL/Auth/DB.pm @@ -44,7 +44,7 @@ sub authenticate { # passwords. Hash it for easier comparison. $stored_password = SL::Auth::Password->hash(password => $stored_password) unless $stored_password; ($algorithm, $stored_password) = SL::Auth::Password->parse($stored_password); - ($algorithm2, $password) = SL::Auth::Password->parse(SL::Auth::Password->hash_if_unhashed(password => $password, algorithm => $algorithm, login => $login)); + ($algorithm2, $password) = SL::Auth::Password->parse(SL::Auth::Password->hash(password => $password, algorithm => $algorithm, login => $login)); $main::lxdebug->leave_sub();