summaryrefslogtreecommitdiff
path: root/app/controllers/ci/application_controller.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/ci/application_controller.rb')
-rw-r--r--app/controllers/ci/application_controller.rb8
1 files changed, 0 insertions, 8 deletions
diff --git a/app/controllers/ci/application_controller.rb b/app/controllers/ci/application_controller.rb
index 9be470660e6..848f2b4e314 100644
--- a/app/controllers/ci/application_controller.rb
+++ b/app/controllers/ci/application_controller.rb
@@ -8,14 +8,6 @@ module Ci
private
- def authenticate_public_page!
- unless project.public
- authenticate_user!
-
- return access_denied! unless can?(current_user, :read_project, gl_project)
- end
- end
-
def authenticate_token!
unless project.valid_token?(params[:token])
return head(403)