Usr module

User login, registration and more.



This site is configured to present features like:

Demo configuration

        // ...
            'userIdentityClass' => 'UserIdentity',
            'hybridauthProviders' => array(
                'OpenID' => array('enabled'=>true),
                'Facebook' => array('enabled'=>true, 'keys'=>array('id'=>'', 'secret'=>''), 'scope'=>'email'),


Currently there are two migrations that creates the table for User and UserRemoteIdentity models:

Custom classes

The module provides an example User and UserRemoteIdentity models and matching UserIdentity implementation. They are located in:

All project specific logic is contained in the UserIdentity class.