dont require creds if remove?

Phillip Davis created

Change summary

sgx_endstream.rb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Detailed changes

sgx_endstream.rb 🔗

@@ -128,7 +128,7 @@ ibr type: :set do |iq|
 		next
 	end
 
-	if iq.username.to_s.empty? || iq.password.to_s.empty?
+	if (iq.username.to_s.empty? || iq.password.to_s.empty?) && !iq.remove?
 		self << iq.as_error(
 			"bad-request",
 			:modify,