Facing Problems In Auth Module

i have facing error in auth module

Following are configuration of auth module in Config File

//================================

‘auth’ => array(

                'class' => 'auth.AuthModule',


                'strictMode' => true, 


                'userClass' => 'User', 


                'userIdColumn' => 'id', 


                'userNameColumn' => 'name', 


                'defaultLayout' => 'auth.views.layouts.main', module.


                'viewDir' => null,


            ),

//===========================

User Configuration in main file

//===========================

‘user’ => array(

               'class' => 'auth.components.AuthWebUser',


                'admins' => array('demo'), // users with full access F


            ),

//============================

i have change user table of auth module and add password for login is there any impact on code and create new model of user in common/models/User.php

//=============now the values in User are=========

id Name Password

1 demo 123

what is your error?

Hi

change your user componet ,







 'user'=>array(

        'class' => 'auth.components.AuthWebUser',

        'behaviors' => array(

            'auth' => array(

                'class' => 'auth.components.AuthBehavior',

                'admins' => array('demo'),

            ),

        ),

    ),