mirror of
https://framagit.org/tykayn/mastodon.git
synced 2023-08-25 08:33:12 +02:00
Fix doorkeeper skip_authorization
This commit is contained in:
parent
9fd3d7b6cd
commit
f06f295890
@ -101,7 +101,7 @@ Doorkeeper.configure do
|
||||
# so that the user skips the authorization step.
|
||||
# For example if dealing with a trusted application.
|
||||
skip_authorization do |resource_owner, client|
|
||||
client.superapp?
|
||||
client.application.superapp?
|
||||
end
|
||||
|
||||
# WWW-Authenticate Realm (default "Doorkeeper").
|
||||
|
Loading…
Reference in New Issue
Block a user