Commit 9afceb1

mo <mo@mokhan.ca>
2018-02-12 22:02:30
forward the custom time.
1 parent dfad9ad
Changed files (1)
lib
lib/saml/kit/assertion.rb
@@ -39,7 +39,7 @@ module Saml
 
       def active?(now = occurred_at)
         drifted_started_at = started_at - configuration.clock_drift.to_i.seconds
-        now > drifted_started_at && !expired?
+        now > drifted_started_at && !expired?(now)
       end
 
       def attributes