From 7d42e17604bad106b796c4f475a5d7692388a130 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Thu, 23 Jun 2011 17:26:34 +0200 Subject: [PATCH] =?utf8?q?Bei=20Passwort=C3=A4nderung=20Login=20f=C3=BCr?= =?utf8?q?=20Salzen=20=C3=BCbergeben?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- SL/Auth/DB.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SL/Auth/DB.pm b/SL/Auth/DB.pm index 520e3e272..3417c0d28 100644 --- 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); -- 2.20.1