Skip to content

Commit

Permalink
Merge pull request rapid7#19623 from adfoster-r7/fix-kerberos-cache-s…
Browse files Browse the repository at this point in the history
…torage-exception

Fix Kerberos cache storage exception
  • Loading branch information
smcintyre-r7 authored Nov 11, 2024
2 parents 2206b0c + abfc24e commit f16991a
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ def load_credential(options = {})
available_tickets = tickets(options).select do |ticket|
!ticket.expired?(now)
end
return unless available_tickets.any?

if options[:offered_etypes].present?
# Prefer etypes mentioned first
options[:offered_etypes].each do |etype|
Expand Down

0 comments on commit f16991a

Please sign in to comment.