lib/omniauth/withings_oauth2/access_token.rb in omniauth-withings-oauth2-1.1.0 vs lib/omniauth/withings_oauth2/access_token.rb in omniauth-withings-oauth2-1.2.0
- old
+ new
@@ -37,10 +37,10 @@
private
# Having too many is sus, and may lead to bugs. Having none is fine (e.g. refresh flow doesn't need a token).
def extra_tokens_warning(supported_keys, key)
- return if OAuth2.config.silence_extra_tokens_warning
+ # return if OAuth2.config.silence_extra_tokens_warning
return if supported_keys.length <= 1
warn("OAuth2::AccessToken.from_hash: `hash` contained more than one 'token' key (#{supported_keys}); using #{key.inspect}.")
end
end
\ No newline at end of file