Exemplo n.º 1
0
 function init()
 {
     parent::init();
     if (!$this->authAllowed) {
         $this->_redirect('/');
         die;
     }
     if ($this->authHTTPS) {
         FrontEnd::checkHTTPS();
     }
     $this->_formRender = isset($this->conf->auth->formRender) ? false : true;
     if (!isset($this->logoutRedirect)) {
         $this->logoutRedirect = '/';
     }
     $this->users = new Users();
     $this->view->mode = 'insert';
 }