Skip to content

Add JH check for restricted country

What does this MR do and why?

Related issue: #450796 (closed)
Related JiHu issue: https://jihulab.com/gitlab-cn/gitlab/-/issues/4412

We previously introduced a new feature: based on geographic information, prohibit users from China from registering. But this logic should NOT be executed in the JiHu environment because all JiHu users are from China. 😄

The current MR adds a JiHh judgment for this restriction.

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

No UI changes.

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

Edited by Zhiyuan Lu

Merge request reports

Loading