Commit 5a330773 authored by Vitali Tatarintev's avatar Vitali Tatarintev

Merge branch 'remove-rate-limit-profile-update-username-feature-flag' into 'master'

Remove rate_limit_profile_update_username feature flag

See merge request gitlab-org/gitlab!82095
parents 368b07ea cf9f96bc
...@@ -7,7 +7,7 @@ class ProfilesController < Profiles::ApplicationController ...@@ -7,7 +7,7 @@ class ProfilesController < Profiles::ApplicationController
before_action :user before_action :user
before_action :authorize_change_username!, only: :update_username before_action :authorize_change_username!, only: :update_username
before_action only: :update_username do before_action only: :update_username do
check_rate_limit!(:profile_update_username, scope: current_user) if Feature.enabled?(:rate_limit_profile_update_username, default_enabled: :yaml) check_rate_limit!(:profile_update_username, scope: current_user)
end end
skip_before_action :require_email, only: [:show, :update] skip_before_action :require_email, only: [:show, :update]
before_action do before_action do
......
---
name: rate_limit_profile_update_username
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/77221
rollout_issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/349132
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