From: Eugen Rochko Date: Sun, 2 Oct 2016 20:55:09 +0000 (+0200) Subject: Fix doorkeeper skip_authorization X-Git-Url: https://git.xn--scling-oua.cat.family/?a=commitdiff_plain;h=f06f295890bd8f29607599ad13b9a3f8d6e05381;p=mastodon.git Fix doorkeeper skip_authorization --- diff --git a/config/initializers/doorkeeper.rb b/config/initializers/doorkeeper.rb index 646b12e46..97eaea678 100644 --- a/config/initializers/doorkeeper.rb +++ b/config/initializers/doorkeeper.rb @@ -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").