These are chat archives for dektrium/yii2-user

Jun 2014
Jun 17 2014 13:43
I just installed yii2-user, and it's awesome!

I do have a problem, I add users as admins
'admins' => ['infoweb', 'admin'],

but I still get a 'forbidden' error

In the admincontroller on line 52, $this->module->admin array is empty
this helped
'matchCallback' => function ($rule, $action) {
return true;
//return in_array(\Yii::$app->user->identity->username, $this->module->admins);
should I open and issue on github?