Difference between #10 and #11 of
Module based login

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
[...]
13 0
18 followers
Viewed: 91 766 times
Version: 1.1
Category: Tutorials
Written by: suriyansuresh
Last updated by: suriyansuresh
Created on: Oct 23, 2010
Last updated: 14 years ago
Update Article

Revisions

View all history