mirror of
https://github.com/e107inc/e107.git
synced 2025-08-08 23:56:58 +02:00
Social fixes
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user