Revision #51 has been created by rackycz on Sep 20, 2019, 1:12:00 PM with the memo:
edit
« previous (#50) next (#52) »
Changes
Title
unchanged
Yii v2 for beginners
Category
unchanged
Tutorials
Yii version
unchanged
2.0
Tags
unchanged
tutorial,beginner,yii2
Content
changed
[...]
- \_form.php - rename input **password** to **password_new** then duplicate it and rename to **password_new_repeat**. Remove **authKey**.
- \_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 = new User();
$model->scenario = User::SCENARIO_CREATE; // the new scenario!
// ...
```
i18n translations + Session
---
... text ...
Access rights[...]