Closed prawee closed 10 years ago
you should be use $authManager = Yii::$app->getComponent('authManager'); instead $authManager = Yii::$app->get('authManager');
This is not bug, since "getComponent" is not valid function to get a component. Please take a look at: http://www.yiiframework.com/doc-2.0/yii-di-servicelocator.html#get()-detail
you should be use $authManager = Yii::$app->getComponent('authManager'); instead $authManager = Yii::$app->get('authManager');