You cannot access this page directly - HybridAuth Social Login

前端 未结 5 1235
逝去的感伤
逝去的感伤 2020-12-17 04:03

I am using HybridAuth social plugin in my website to login from facebook and other websites,

everything is working fine, but when I checked on other computers, there

5条回答
  •  渐次进展
    2020-12-17 04:49

    After adding this on top of my controller it started working

    if (session_status() == PHP_SESSION_NONE) {
        @session_id($_COOKIE['CAKEPHP']);
        @session_start();
        @session_name('CAKEPHP');
    }
    

    Read here https://github.com/hybridauth/CakePHP-HybridAuth/pull/1

提交回复
热议问题