Difference between #51 and #52 of
Yii v2 snippet guide

Revision #52 has been created by rackycz on Sep 20, 2019, 1:12:36 PM with the memo:

edit
« previous (#51) next (#53) »

Changes

Title unchanged

Yii v2 for beginners

Category unchanged

Tutorials

Yii version unchanged

2.0

Tags unchanged

tutorial,beginner,yii2

Content changed

[...]
- \_search.php - remove **password** and **authKey**.
- index.php - remove **password** and **authKey**.
- view.php - remove **password** and **authKey**.

Plus do not forget to use the new scenario in UserController->actionCreate() like this:

 
```php
public function actionCreate()
{
[...]
$model->scenario = User::SCENARIO_CREATE; // the new scenario!
// ...
```
    
 


i18n translations + Session
---
... text ...
[...]
7 0
4 followers
Viewed: 275 342 times
Version: 2.0
Category: Tutorials
Written by: rackycz
Last updated by: rackycz
Created on: Sep 19, 2019
Last updated: a year ago
Update Article

Revisions

View all history