I'm using xampp for windows 8 and i have recently installed dektrium/yii2-user
.
I have followed the installation instructions here:
https://github.com/dektrium/yii2-user/blob/master/docs/installation.md
The changed part of my web.php looks now like this:
'user' => [
'identityClass' => 'app\models\User',
'enableAutoLogin' => true,
'class' => 'dektrium\user\Module',
],
I'm getting the error:
Missing required parameter "id" when instantiating "dektrium\user\Module".
And when I delete
'class' => 'dektrium\user\Module',
the error disappears.