Allow web-register in two-stage as well

Stephen Paul Weber created

Command execution is normally two stage, execute, response, then submit.  We had
a hack here that allowed submitting the form directly, but this allows a blind
two-stage client to also at least work.

Change summary

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

Detailed changes

sgx_jmp.rb 🔗

@@ -536,7 +536,7 @@ Command.new(
 	end
 }.register(self).then(&CommandList.method(:register))
 
-command :execute?, node: "web-register", sessionid: nil do |iq|
+command :execute?, node: "web-register" do |iq|
 	StatsD.increment("command", tags: ["node:#{iq.node}"])
 
 	sentry_hub = new_sentry_hub(iq, name: iq.node)