fixed bug 733853

This commit is contained in:
JT Smith 2003-05-17 01:05:41 +00:00
parent 1417053444
commit 3531838ace

View file

@ -437,8 +437,7 @@ sub www_recoverPasswordFinish {
$password .= chr(ord('A') + randint(32));
}
$encryptedPassword = Digest::MD5::md5_base64($password);
my $u = WebGUI::User->new($userId);
$u->identifier($encryptedPassword);
WebGUI::Authentication::saveParams($userId,"WebGUI",{identifier=>$encryptedPassword});
$flag = 1;
$message = $session{setting}{recoverPasswordEmail};
$message .= "\n".WebGUI::International::get(50).": ".$username."\n";