public function checkToken()
    {
        // Skip CSRF request by config
        if( \Config::get( 'tiga.skip_csrf_protect',false ) )
            return;

        if ($this->session->get('tiga_csrf_token', false) == false) {
            throw new \Exception('Invalid csrf token');
        }

        $input = $this->input('_tiga_token');

        if ($this->isXmlHttpRequest()) {
            $input = $this->headers->get('X-CSRF-Tiga-Token');
        }

        if ($this->session->get('tiga_csrf_token') != $input) {
            throw new \Exception('Invalid csrf token');
        }
    }