| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 10 | 2 | 0 | 1.000 | statement_sequence[5] |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 10 | 431 | libraries/joomla/user/user.php |
| 2 | 10 | 468 | libraries/joomla/user/user.php |
| ||||
if ($array['password'] != $array['password2']) {
$this->setError(JText::_('PASSWORD DO NOT MATCH.'));
return FALSE;
}
$this->password_clear = JArrayHelper::getValue($array, 'password', '', 'string');
$salt= JUserHelper::genRandomPassword(32);
$crypt= JUserHelper::getCryptedPassword($array['password'], $salt);
$array['password']= $crypt
. ':'
. $salt;
|
| ||||
if ($array['password'] != $array['password2']) {
$this->setError(JText::_('PASSWORD DO NOT MATCH.'));
return FALSE;
}
$this->password_clear = JArrayHelper::getValue($array, 'password', '', 'string');
$salt= JUserHelper::genRandomPassword(32);
$crypt= JUserHelper::getCryptedPassword($array['password'], $salt);
$array['password']= $crypt
. ':'
. $salt;
|
| |||
if ($array['password'] != $array['password2']) {
$this->setError(JText::_('PASSWORD DO NOT MATCH.'));
return FALSE;
}
$this->password_clear =JArrayHelper::getValue($array,'password','','string');
$salt=JUserHelper::genRandomPassword(32);
$crypt=JUserHelper::getCryptedPassword($array['password'],$salt);
$array['password']=$crypt
. ':'
. $salt;
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| None | |||