mirror of
https://github.com/bjc/prosody.git
synced 2025-04-03 21:27:38 +03:00
Use xmlns for matching auth tag too
This commit is contained in:
parent
30f0f7372b
commit
459665b368
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ local xmlns_stanzas ='urn:ietf:params:xml:ns:xmpp-stanzas';
|
|||
local new_connhandler = require "net.connhandlers".new;
|
||||
local new_sasl = require "util.sasl".new;
|
||||
|
||||
add_handler("c2s_unauthed", "auth",
|
||||
add_handler("c2s_unauthed", "auth", xmlns_sasl,
|
||||
function (session, stanza)
|
||||
if not session.sasl_handler then
|
||||
session.sasl_handler = new_sasl(stanza.attr.mechanism,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue