lib/doorkeeper/models/concerns/revocable.rb in doorkeeper-4.0.0.rc3 vs lib/doorkeeper/models/concerns/revocable.rb in doorkeeper-4.0.0.rc4
- old
+ new
@@ -21,10 +21,10 @@
@old_refresh_token ||=
AccessToken.by_refresh_token(previous_refresh_token)
end
def refresh_token_revoked_on_use?
- Doorkeeper.configuration.refresh_token_revoked_on_use?
+ AccessToken.refresh_token_revoked_on_use?
end
end
end
end