Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2019-11-17 15:06:19 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2019-11-17 15:06:19 +0300
commit190e204decaba9c14f5a5997d243ed007f68b2a1 (patch)
treedfac782883833c6551a559a19543d8e41fd1123e /app/controllers/omniauth_callbacks_controller.rb
parent926a77904fe25d533f0e1e503da0317c8f2011c7 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/controllers/omniauth_callbacks_controller.rb')
-rw-r--r--app/controllers/omniauth_callbacks_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/omniauth_callbacks_controller.rb b/app/controllers/omniauth_callbacks_controller.rb
index b992972dfb8..eca58748cc5 100644
--- a/app/controllers/omniauth_callbacks_controller.rb
+++ b/app/controllers/omniauth_callbacks_controller.rb
@@ -47,7 +47,7 @@ class OmniauthCallbacksController < Devise::OmniauthCallbacksController
def omniauth_error
@provider = params[:provider]
@error = params[:error]
- render 'errors/omniauth_error', layout: "oauth_error", status: 422
+ render 'errors/omniauth_error', layout: "oauth_error", status: :unprocessable_entity
end
def cas3