extension/usr/

Reference: extension/usr/

In order to use Hybridauth (the usr module make use of hybridauth.sourceforge.net library) I had to change the app configuration file in this way:


        'session' => array (

            'sessionName' => 'PHPSESSID',

        ),

Otherwise, enabling Hybridauth produces that login process generates two different sessions, one named PHPSESSID used by hybridauth library to store its session data, and another one (named YIISESSION or other depending on custom app configuration file). The effect is that main app can’t figure out if the current user is logged in, while the usr module consider it already logged and doesn’t permit the action ‘login’ (see defaultController/beforeAction).

This issue has been observed on YII 1.1.15, usr module latest release, OS Centos 6, PHP Version 5.3.29.

See extension author reply on http://www.yiiframework.com/extension/usr/#c18931