Skip to content
Snippets Groups Projects
Commit f06f2958 authored by Eugen Rochko's avatar Eugen Rochko
Browse files

Fix doorkeeper skip_authorization

parent 9fd3d7b6
No related branches found
No related tags found
No related merge requests found
......@@ -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").
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment