You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lib/onelogin/ruby-saml/response.rb
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -693,12 +693,12 @@ def validate_conditions
693
693
now=Time.now.utc
694
694
695
695
ifnot_before && now < (not_before - allowed_clock_drift)
696
-
error_msg="Current time is earlier than NotBefore condition (#{now} < #{not_before}#{" - #{allowed_clock_drift.ceil}s"ifallowed_clock_drift > 0})")
696
+
error_msg="Current time is earlier than NotBefore condition (#{now} < #{not_before}#{" - #{allowed_clock_drift.ceil}s"ifallowed_clock_drift > 0})"
697
697
returnappend_error(error_msg)
698
698
end
699
699
700
700
ifnot_on_or_after && now >= (not_on_or_after + allowed_clock_drift)
701
-
error_msg="Current time is on or after NotOnOrAfter condition (#{now} >= #{not_on_or_after}#{" + #{allowed_clock_drift.ceil}s"ifallowed_clock_drift > 0})")
701
+
error_msg="Current time is on or after NotOnOrAfter condition (#{now} >= #{not_on_or_after}#{" + #{allowed_clock_drift.ceil}s"ifallowed_clock_drift > 0})"
0 commit comments