Comparing
#2 with
#3
Content
[...]
'identityClass' => 'mdm\admin\models\User',
'loginUrl' => ['admin/user/login'],
]
]
```
Populate the `user` table by adding users. Use this link to register users to your application:<br />
[http://localhost/yii2-app/backend/web/index.php?r=admin/user/signup](http://localhost/yii2-app/backend/web/index.php?r=admin/user/signup "Sign Up")
You can use authManager class `'yii\rbac\DbManager'` to authorize users using database. For that you should execute a database migration using the command `yii migrate --migrationPath=@yii/rbac/migrations`. Before that add `'class' => 'mdm\admin\models\User'` and change the `authManager` class in the config file `yii2-app/common/config/main.php` like :
```php[...]