lib/doorkeeper-jwt.rb in doorkeeper-jwt-0.1.6 vs lib/doorkeeper-jwt.rb in doorkeeper-jwt-0.1.7

- old
+ new

@@ -39,10 +39,10 @@ return nil unless Doorkeeper::JWT.configuration.encryption_method Doorkeeper::JWT.configuration.encryption_method.to_s.upcase end def use_application_secret? - return false unless Doorkeeper::JWT.configuration.use_application_secret + Doorkeeper::JWT.configuration.use_application_secret end def application_secret(opts) opts = { application: {} }.merge(opts) return opts[:application][:secret] if opts[:application][:secret]