Project

General

Profile

Bug #3303 » 3303.patch

krileon, 24 February 2012 17:24

View differences:

administrator/components/com_comprofiler/library/cb/cb.authentication.php
if ( ( ! $foundUser ) && ( $loginType > 2 ) ) {
// If no result, try login by CMS authentication:
if ( $_CB_framework->login( $username, $password, $rememberMe ) ) {
$foundUser = $row->loadByUsername( $username );
$foundUser = $row->load( (int) $_CB_framework->myId() );
cbSplitSingleName( $row );
$row->confirmed = 1;
$row->approved = 1;
(2-2/2)