Waut Van den Abbeele

Results 2 comments of Waut Van den Abbeele

Can this PR be resolved in any way. This is the solution to my problem as well, but to be able to use it, it has to be in the...

Solution can be something like. ``` 'user' => [ 'on ' . FormEvent::EVENT_BEFORE_LOGIN => function ($e) { $e->isValid = \Da\User\Model::findByUsername($e->identity->username)->isAdmin; if(!$e->isValid) { $homeUrl = \Yii::$app->urlManagerFrontend->createAbsoluteUrl(['']); Yii::$app->session->setFlash('error', Yii::t("login","Access forbidden! Click here...