~singpolyma/sgx-jmp

826b53853ab32361e588b3550ce2a6ee115a90ca — Stephen Paul Weber 13 days ago 28d302a
Typo
1 files changed, 1 insertions(+), 1 deletions(-)

M sgx_jmp.rb
M sgx_jmp.rb => sgx_jmp.rb +1 -1
@@ 482,7 482,7 @@ command :execute?, node: "web-register", sessionid: nil do |iq|
	begin
		jid = iq.form.field("jid")&.value.to_s.strip
		tel = iq.form.field("tel")&.value.to_s.strip
		hub.current_scope.set_user(jid: jid, tel: tel)
		sentry_hub.current_scope.set_user(jid: jid, tel: tel)
		if iq.from.stripped != CONFIG[:web_register][:from]
			BLATHER << iq.as_error("forbidden", :auth)
		elsif jid == "" || tel !~ /\A\+\d+\Z/