1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-08 23:56:58 +02:00

Social fixes

This commit is contained in:
CaMer0n
2012-06-14 11:16:13 +00:00
parent f960364d7f
commit 1921e5ab93
3 changed files with 9 additions and 9 deletions

View File

@@ -64,7 +64,7 @@
unset($_SESSION['E:SOCIAL']);
if(!isset($_SESSION['E:SOCIAL']) && e107::getPref('social_login_active', false) && (e_ADMIN_AREA !== true))
if(vartrue($_GET['provider']) && !isset($_SESSION['E:SOCIAL']) && e107::getPref('social_login_active', false) && (e_ADMIN_AREA !== true))
{
require_once(e_HANDLER."hybridauth/Hybrid/Auth.php");
@@ -73,7 +73,7 @@
"providers" => e107::getPref('social_login', array())
);
print_a($config);
// print_a($config);
// $params = array("hauth_return_to" => e_SELF);
$hybridauth = new Hybrid_Auth($config);