Skip to content

Allow the gitlab-jh codebase to override recaptcha module to avoid getting blocked in China

What does this MR do?

Google recaptcha's domain(www.google.com/recaptcha) is blocked in China. To solve this problem in JH edition. To solve it, we just need to allow the gitlab-jh codebase to override the Recaptcha module in /lib/gitlab/recaptcha.rb, call the prepend_mod at the end of this file will make /jh/lib/jh/gitlab/recaptcha.rb active(see this MR). This will only affect the gitlab-jh edition's feature.

Conformity

Availability and Testing

Security

Does this MR contain changes to processing or storing of credentials or tokens, authorization and authentication methods or other items described in the security review guidelines? If not, then delete this Security section.

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team
Edited by Kun Qian

Merge request reports

Loading