master
main.php
<?php use luya\admin\Module as Admin; use luya\helpers\Url; $user = Yii::$app->adminuser->getIdentity();