|
|
@@ -199,8 +199,15 @@ function cwp7_SingleSignOn($params) {
|
|
|
$cwp7 = new cwp7_Admin($params['serverhostname'], $params['serveraccesshash']);
|
|
|
$response = $cwp7->getLoginLink($params['username']);
|
|
|
if($response['status'] == 'OK') {
|
|
|
- $link=$response['msj']['details'];
|
|
|
- $linkautologin=$link[0]['url'];
|
|
|
+ $link = $response['msj']['details'];
|
|
|
+ $linkautologin = $link[0]['url'];
|
|
|
+ logModuleCall(
|
|
|
+ 'cwp7',
|
|
|
+ __FUNCTION__,
|
|
|
+ $response,
|
|
|
+ 'Debug',
|
|
|
+ $linkautologin
|
|
|
+ );
|
|
|
return array(
|
|
|
'success' => true,
|
|
|
'redirectTo' => $linkautologin,
|