diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2016-10-02 22:55:09 +0200 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2016-10-02 22:55:09 +0200 |
commit | f06f295890bd8f29607599ad13b9a3f8d6e05381 (patch) | |
tree | 71b969b7b82aeb1d5e7a886458e6feb338db900a /config/initializers | |
parent | 9fd3d7b6cdb97a8f0f47425a32f34fc5c54b94de (diff) |
Fix doorkeeper skip_authorization
Diffstat (limited to 'config/initializers')
-rw-r--r-- | config/initializers/doorkeeper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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"). |