commit: f06f295890bd8f29607599ad13b9a3f8d6e05381
parent: 9fd3d7b6cdb97a8f0f47425a32f34fc5c54b94de
Author: Eugen Rochko <eugen@zeonfederated.com>
Date: Sun, 2 Oct 2016 22:55:09 +0200
Fix doorkeeper skip_authorization
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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").