Can I access the currently logged in user in /frontend with
Yii::$app->user->identity from my /backend repository? Does replacing
$frontend do the trick?
I’m running the advanced template and our users log in in our /frontend, but now I need the user information in /backend to check authentication within an internal api. Can anyone help?