Commit 61913512 authored by Ron Chan's avatar Ron Chan

Removed trusted parameter in Group OAuth parameter

parent 7ee3db47
...@@ -65,7 +65,7 @@ module Groups ...@@ -65,7 +65,7 @@ module Groups
def application_params def application_params
params params
.require(:doorkeeper_application) .require(:doorkeeper_application)
.permit(:name, :redirect_uri, :trusted, :scopes, :confidential) .permit(:name, :redirect_uri, :scopes, :confidential)
.tap do |params| .tap do |params|
params[:owner] = @group params[:owner] = @group
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment