Bug #2203 ยป 2203.patch
| administrator/components/com_comprofiler/plugin.foundation.php | ||
|---|---|---|
|
$response->username = $username;
|
||
|
$response->fullname = $row->name;
|
||
|
// now we attempt user login and check results:
|
||
|
$login = $dispatcher->trigger( 'onLoginUser', array( (array) $response, array() ) );
|
||
|
if ( checkJversion() == 2 ) {
|
||
|
$login = $dispatcher->trigger( 'onUserLogin', array( (array) $response, array( 'action' => 'core.login.site' ) ) );
|
||
|
} else {
|
||
|
$login = $dispatcher->trigger( 'onLoginUser', array( (array) $response, array() ) );
|
||
|
}
|
||
|
if ( ! in_array( false, $login, true ) ) {
|
||
|
$result = true;
|
||
|
} else {
|
||
|
$result = false;
|
||
|
}
|
||
|
}
|
||
|
if ( $result ) {
|
||