Browse Source

Fix doorkeeper skip_authorization

closed-social-v3
Eugen Rochko 8 years ago
parent
commit
f06f295890
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      config/initializers/doorkeeper.rb

+ 1
- 1
config/initializers/doorkeeper.rb View File

@ -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…
Cancel
Save