diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-05-15 12:07:19 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-05-15 12:07:19 +0000 |
commit | e6fed37d941271b897d37820fd3b571feab280b0 (patch) | |
tree | c81c9a7d38d6a8b0c1dc5f8ebb784fce68acb288 /lib | |
parent | 45a8c43afe8a17de19a92708b380b29b6ae04ce6 (diff) | |
download | gitlab-ce-e6fed37d941271b897d37820fd3b571feab280b0.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'lib')
-rw-r--r-- | lib/api/projects.rb | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/api/projects.rb b/lib/api/projects.rb index 697c2a7e214..d6863e4eba4 100644 --- a/lib/api/projects.rb +++ b/lib/api/projects.rb @@ -112,8 +112,6 @@ module API end def validate_projects_api_rate_limit_for_unauthenticated_users! - return unless Feature.enabled?(:rate_limit_for_unauthenticated_projects_api_access) - check_rate_limit!(:projects_api_rate_limit_unauthenticated, scope: [ip_address]) if current_user.blank? end end |