Commit 86f5f9e

mo <mo@mokhan.ca>
2017-11-06 02:22:48
update not after calculation.
1 parent c7e192e
Changed files (1)
lib
saml
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