Bug #3315 » 3315.patch
components/com_comprofiler/comprofiler.php | ||
---|---|---|
$user = CBuser::getUserDataInstance( (int) $user_id );
|
||
$user->password = $newpass;
|
||
if ( ! $user->storePassword() ) {
|
||
die("SQL error" . $user->getError());
|
||
cbRedirect( cbSef("index.php?option=$option&task=lostPassword".($Itemid ? "&Itemid=". (int) $Itemid : ""), false ), $user->getError(), 'error' );
|
||
return;
|
||
}
|
||
cbRedirect( cbSef("index.php?option=$option&task=done".($Itemid ? "&Itemid=". (int) $Itemid : ""), false ), sprintf( _UE_NEWPASS_SENT, htmlspecialchars( $confirmEmail ) ) );
|
||
} else {
|