1
0
mirror of https://github.com/funamitech/mastodon synced 2024-12-01 08:18:53 +09:00

Fix doorkeeper skip_authorization

This commit is contained in:
Eugen Rochko 2016-10-02 22:55:09 +02:00
parent 9fd3d7b6cd
commit f06f295890

View File

@ -101,7 +101,7 @@ Doorkeeper.configure do
# so that the user skips the authorization step. # so that the user skips the authorization step.
# For example if dealing with a trusted application. # For example if dealing with a trusted application.
skip_authorization do |resource_owner, client| skip_authorization do |resource_owner, client|
client.superapp? client.application.superapp?
end end
# WWW-Authenticate Realm (default "Doorkeeper"). # WWW-Authenticate Realm (default "Doorkeeper").