private function setFailure() : void
    {
        $this->session->set('failure',      $this->session->get('failure') + 1);
        $this->session->set('failure_time', time() + (int) static::FAILURE_TIME);
    }