]> wagnertech.de Git - kivitendo-erp.git/blobdiff - SL/Auth/DB.pm
Keine Passwörter mehr in Sessions speichern.
[kivitendo-erp.git] / SL / Auth / DB.pm
index ab8788abda9cf7c4f8b255cd8e49bfb68ecb148e..0bbc050166466d7a419ab4dfbdf7368af544894e 100644 (file)
@@ -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();