File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -56,13 +56,13 @@ def validate_custom_access_token_attributes
5656 return if custom_access_token_attributes . blank?
5757
5858 unrecognized_attributes = [ ]
59- custom_access_token_attributes . each do |attrib |
59+ custom_access_token_attributes . each do |attribute_name |
6060 [ access_token_model , access_grant_model ] . each do |model |
61- next if model . has_attribute? ( attrib )
61+ next if model . has_attribute? ( attribute_name )
6262
63- unrecognized_attributes << attrib
63+ unrecognized_attributes << attribute_name
6464 ::Rails . logger . warn (
65- "[DOORKEEPER] #{ access_token_model } does not respond to custom attribute '#{ attrib } '. " \
65+ "[DOORKEEPER] #{ access_token_model } does not respond to custom attribute '#{ attribute_name } '. " \
6666 "This custom attribute will be ignored." ,
6767 )
6868 end
You can’t perform that action at this time.
0 commit comments