Ejemplo n.º 1
0
 public function init()
 {
     parent::init();
     $this->metaKeywords = $this->metaDescription = $this->app->name;
 }
Ejemplo n.º 2
0
 public function accessRules()
 {
     return array_merge(parent::accessRules(), [['allow', 'actions' => ['login', 'error', 'captcha'], 'users' => ['*']], ['allow', 'actions' => ['index', 'logout'], 'users' => ['@']], ['deny', 'users' => ['*']]]);
 }