Module based login

Comparing #10 with #11

Revision #11 was created by suriyansuresh suriyansuresh on Nov 1, 2010, 3:04:30 PM.

added some text

Content

[...]
```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
[...]