|
@@ -726,7 +726,7 @@ if (!empty($_SESSION['_user']['user_id']) && !($login || $logout)) {
|
|
|
//this last function should trigger a redirect, so we can die here safely
|
|
|
die('Openid login redirection should be in progress');
|
|
|
} elseif (!empty($_GET['openid_identity'])) { //it's usual for PHP to replace '.' (dot) by '_' (underscore) in URL parameters
|
|
|
- include(api_get_path(SYS_CODE_PATH).'auth/openid/login.php');
|
|
|
+ include api_get_path(SYS_CODE_PATH).'auth/openid/login.php';
|
|
|
$res = openid_complete($_GET);
|
|
|
if ($res['status'] == 'success') {
|
|
|
$id1 = Database::escape_string($res['openid.identity']);
|