Commit 2b7e964

mo <mo@mokhan.ca>
2017-11-06 02:22:48
update not after calculation.
1 parent b762e48
Changed files (1)
saml-kit
lib
saml
saml-kit/lib/saml/kit/response.rb
@@ -291,7 +291,7 @@ module Saml
           {
             AuthnInstant: now.iso8601,
             SessionIndex: assertion_options[:ID],
-            SessionNotOnOrAfter: 3.hours.from_now.utc.iso8601,
+            SessionNotOnOrAfter: 3.hours.since(now).utc.iso8601,
           }
         end
       end