Difference between #10 and #11 of
Module based login

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

Revisions

View all history