Add geetest captcha
What does this MR do and why?
This MR is frontend part of #1746 (closed)
Screenshots or screen recordings
Scenario 1 | Scenario 2 | Scenario 3 |
---|---|---|
same with scenario 2 |
How to set up and validate locally
- Merge
geetest_captcha_backend
branch intoreplace-tencent-captcha-to-geetest
- Start GDK with GEETEST_CAPTCHA_ID='ask MR author for it' GEETEST_CAPTCHA_KEY='ask MR author for it'
- Enable FF
Feature.enable(:geetest_captcha)
- Enter http://127.0.0.1:3000/admin/application_settings/reporting
- Config(register reCAPTCHA and Akismet, ask MR author for the keys)
- Refresh login page serveral times (scenario 1)
- Create code snippets named
123123test
(scenario 2) - Enable realname(you can hardcode
jh/lib/gitlab/real_name_system.rb
to true) (scenario 3)
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
由 Kun Qian 编辑于