Commit 1ce71550 authored by Drew Blessing's avatar Drew Blessing Committed by Drew Blessing

Rename captcha feature flag

parent 3e3ea895
......@@ -358,7 +358,7 @@ class GroupsController < Groups::ApplicationController
end
def captcha_enabled?
Gitlab::Recaptcha.enabled? && Feature.enabled?(:recaptcha_on_group_creation, type: :ops)
Gitlab::Recaptcha.enabled? && Feature.enabled?(:recaptcha_on_top_level_group_creation, type: :ops)
end
def captcha_required?
......
---
name: recaptcha_on_group_creation
name: recaptcha_on_top_level_group_creation
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/56707
rollout_issue_url:
milestone: '13.10'
......
......@@ -356,7 +356,7 @@ RSpec.describe GroupsController, factory_default: :keep do
context 'with feature flag switched off' do
before do
stub_feature_flags(recaptcha_on_group_creation: false)
stub_feature_flags(recaptcha_on_top_level_group_creation: false)
end
it 'allows creating a group without the reCAPTCHA' do
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment