diff --git a/lib/onelogin/ruby-saml/response.rb b/lib/onelogin/ruby-saml/response.rb index c4fa3616d..d55694399 100644 --- a/lib/onelogin/ruby-saml/response.rb +++ b/lib/onelogin/ruby-saml/response.rb @@ -727,7 +727,7 @@ def validate_issuer # @return [Boolean] True if the SessionNotOnOrAfter of the AuthnStatement is valid, otherwise (when expired) False if soft=True # @raise [ValidationError] if soft == false and validation fails # - def validate_session_expiration(_soft = true) + def validate_session_expiration() return true if session_expires_at.nil? now = Time.now.utc