Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

273 B
Raw Blame
module RecaptchaLimitOverride
  def invalid_response?(resp)
    return super unless OpenProject::Recaptcha::use_hcaptcha?

    resp.empty? || resp.length > ::OpenProject::Recaptcha.hcaptcha_response_limit
  end
end

Recaptcha.singleton_class.prepend RecaptchaLimitOverride