summaryrefslogtreecommitdiff
path: root/app/controllers/groups
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2023-03-13 15:08:11 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2023-03-13 15:08:11 +0000
commitcb38c5062c623059d311c4e9e37428eacdea95d6 (patch)
treeeefd77089ed22d00ed5247dd84c0b93473cdf9d4 /app/controllers/groups
parentb4d5fdae4298581813f0bd5fec029da91f9dfe05 (diff)
downloadgitlab-ce-cb38c5062c623059d311c4e9e37428eacdea95d6.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/controllers/groups')
-rw-r--r--app/controllers/groups/settings/applications_controller.rb15
1 files changed, 3 insertions, 12 deletions
diff --git a/app/controllers/groups/settings/applications_controller.rb b/app/controllers/groups/settings/applications_controller.rb
index b174ba9a6ad..2bf5c95937b 100644
--- a/app/controllers/groups/settings/applications_controller.rb
+++ b/app/controllers/groups/settings/applications_controller.rb
@@ -15,9 +15,7 @@ module Groups
set_index_vars
end
- def show
- @created = get_created_session if Feature.disabled?('hash_oauth_secrets')
- end
+ def show; end
def edit
end
@@ -28,15 +26,8 @@ module Groups
if @application.persisted?
flash[:notice] = I18n.t(:notice, scope: [:doorkeeper, :flash, :applications, :create])
- if Feature.enabled?('hash_oauth_secrets')
-
- @created = true
- render :show
- else
- set_created_session
-
- redirect_to group_settings_application_url(@group, @application)
- end
+ @created = true
+ render :show
else
set_index_vars
render :index