These are chat archives for dektrium/yii2-user

17th
Jun 2014
Ruben
@rubenheymans
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?