Drop custom scopes conversion code from /settings/applications controller (#33819)

This commit is contained in:
Claire 2025-02-04 10:31:42 +01:00 committed by GitHub
parent bc0fb83ce5
commit 5553941666
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -59,10 +59,6 @@ class Settings::ApplicationsController < Settings::BaseController
end end
def application_params def application_params
params params.expect(doorkeeper_application: [:name, :redirect_uri, :website, scopes: []])
.expect(doorkeeper_application: [:name, :redirect_uri, :website, scopes: []])
.tap do |params|
params[:scopes] = params[:scopes]&.join(' ')
end
end end
end end