Fix Lint/UnusedBlockArgument
cop (#27777)
This commit is contained in:
parent
5af47fbff8
commit
c875dfc90b
5 changed files with 6 additions and 15 deletions
|
@ -169,7 +169,7 @@ Doorkeeper.configure do
|
|||
# Under some circumstances you might want to have applications auto-approved,
|
||||
# so that the user skips the authorization step.
|
||||
# For example if dealing with a trusted application.
|
||||
skip_authorization do |resource_owner, client|
|
||||
skip_authorization do |_resource_owner, client|
|
||||
client.application.superapp?
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue