Change summary
sgx_jmp.rb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Detailed changes
@@ -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/