Commit 65d402df authored by Pavel Shutsin's avatar Pavel Shutsin

Merge branch 'remove-rate-limit-username-exists-endpoint-ff' into 'master'

Remove rate_limit_username_exists_endpoint feature flag

See merge request gitlab-org/gitlab!82105
parents 8ca6899d 6c018f21
......@@ -24,7 +24,7 @@ class UsersController < ApplicationController
before_action :authorize_read_user_profile!,
only: [:calendar, :calendar_activities, :groups, :projects, :contributed, :starred, :snippets, :followers, :following]
before_action only: [:exists] do
check_rate_limit!(:username_exists, scope: request.ip) if Feature.enabled?(:rate_limit_username_exists_endpoint, default_enabled: :yaml)
check_rate_limit!(:username_exists, scope: request.ip)
end
feature_category :users
......
---
name: rate_limit_username_exists_endpoint
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/77119
rollout_issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/348974
milestone: '14.7'
type: development
group: group::optimize
default_enabled: false
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