concrete/controllers/backend/user_interface.php
protected function validateAction()
    {
        $token = (isset($this->validationToken)) ? $this->validationToken : get_class($this);
        if (!$this->app->make('token')->validate($token)) {
            $this->error->add($this->app->make('token')->getErrorMessage());

            return false;
        }
        if (!$this->canAccess()) {
            return false;
        }

        return true;
    }
protected function validateAction()
    {
        $token = (isset($this->validationToken)) ? $this->validationToken : get_class($this);
        if (!$this->app->make('token')->validate($token)) {
            $this->error->add($this->app->make('token')->getErrorMessage());

            return false;
        }
        if (!$this->canAccess()) {
            return false;
        }

        return true;
    }
protected function validateAction ( ) { $ token = ( isset ( $ this -> validationToken ) ) ? $ this -> validationToken : get_class ( $ this ) ; if ( ! $ this -> app -> make ( 'token' ) -> validate ( $ token ) ) { $ this -> error -> add ( $ this -> app -> make ( 'token' ) -> getErrorMessage ( ) ) ; return false ; } if ( ! $ this -> canAccess ( ) ) { return false ; } return true ; }
Check whether the token is valid and if the current page be accessed.

@return bool
Check whether the token is valid and if the current page be accessed .