Revision #11 has been created by suriyansuresh on Nov 1, 2010, 3:04:30 PM with the memo:
added some text
« previous (#10)
Changes
Title
unchanged
Module based login
Category
unchanged
Tutorials
Yii version
unchanged
Tags
unchanged
authentication, module
Content
changed
[...]
```php
public function actionLogin() {
Yii::app()->request->redirect(Yii::app()->createUrl(Yii::app()->user->returnUrl));
}
```
(or)
**Update 2
(best method)**
----------
**Redirect to respective module login, if user not logged in to a particular model**
add following code to customer module CustomerModule.php[...]