Comparison

plugins/mod_saslauth.lua @ 12721:7830db3c38c3

mod_saslauth: Fix incorrect variable name introduced in 27a4a7e64831
author Matthew Wild <mwild1@gmail.com>
date Sat, 03 Sep 2022 21:25:51 +0100
parent 12718:27a4a7e64831
child 12726:9f100ab9ffdf
comparison
equal deleted inserted replaced
12720:0a137436490f 12721:7830db3c38c3
350 elseif not available_disabled:empty() then 350 elseif not available_disabled:empty() then
351 log("warn", "All SASL mechanisms provided by authentication module '%s' are disabled (%s)", 351 log("warn", "All SASL mechanisms provided by authentication module '%s' are disabled (%s)",
352 authmod, available_disabled); 352 authmod, available_disabled);
353 end 353 end
354 354
355 elseif not session.full_jid then 355 elseif not origin.full_jid then
356 features:tag("bind", bind_attr):tag("required"):up():up(); 356 features:tag("bind", bind_attr):tag("required"):up():up();
357 features:tag("session", xmpp_session_attr):tag("optional"):up():up(); 357 features:tag("session", xmpp_session_attr):tag("optional"):up():up();
358 end 358 end
359 end); 359 end);
360 360