Loginurl In Yii




Here i added the code to "how to set default login url in yii"

config/main.php


...............
'components'=>array(
'user'=>array(
    'class' => 'WebUser',
    'loginUrl' => array('user/login'),
    ),
),
...............