Issue information
-
#019675
-
Unconfirmed
-
-
-
-
Issue Confirmations
-
Yes (0)No (0)
In convergeAuthenticate, for extensions support, it has this
After much debugging I found the problem. $member is not defined, the member data is in $row. Changing to $row properly populates auth in the request.
converge_master/server_functions.php
if (class_exists($productCode.'_custom'))
{
if ( ! in_array($productCode, $loadedClasses) )
{
$class = $productCode.'_custom';
$loadedClasses[$productCode] = new $class;
}
if ($loadedClasses[$productCode]->authType == 'username')
{
$addToRequest['auth'] = $member['converge_username'];
}
else
{
$addToRequest['auth'] = $member['converge_email'];
}
}
else
{
$addToRequest['email_address'] = $member['converge_email'];
}
After much debugging I found the problem. $member is not defined, the member data is in $row. Changing to $row properly populates auth in the request.
converge_master/server_functions.php
Also further down we have
$product['product_id'] is not set, however. Also, array_values call seems unnecessary looking at the code. I changed this to
foreach( $methods as $_id => $_method )
{
if ( $_method['_data'] )
{
$_ids = explode( ",", $_method['module_assigned_to'] );
if ( in_array( $product['product_id'], array_values( $_ids ) ) )
{
$ourrequest['extra_data'] = base64_encode( serialize( $_method['_data'] ) );
}
}
}
$product['product_id'] is not set, however. Also, array_values call seems unnecessary looking at the code. I changed this to
foreach( $methods as $_id => $_method )
{
if ( $_method['_data'] )
{
$_ids = explode( ",", $_method['module_assigned_to'] );
if ( in_array( $product_id, $_ids ) )
{
$ourrequest['extra_data'] = base64_encode( serialize( $_method['_data'] ) );
}
}
}I also got extension data working through SSO calls.
I'll be committing my changes to SVN when I'm done with everything.
I'll be committing my changes to SVN when I'm done with everything.
1 user(s) are reading this issue
0 members, 1 guests, 0 anonymous users












