mirror of
https://github.com/bjc/prosody.git
synced 2025-04-05 14:17:37 +03:00
mod_legacyauth: Remove unused variable
This commit is contained in:
parent
ba9418cd02
commit
9735264a8d
1 changed files with 0 additions and 1 deletions
|
@ -57,7 +57,6 @@ module:hook("stanza/iq/jabber:iq:auth:query", function(event)
|
||||||
username, password, resource = t_concat(username), t_concat(password), t_concat(resource);
|
username, password, resource = t_concat(username), t_concat(password), t_concat(resource);
|
||||||
username = nodeprep(username);
|
username = nodeprep(username);
|
||||||
resource = resourceprep(resource)
|
resource = resourceprep(resource)
|
||||||
local reply = st.reply(stanza);
|
|
||||||
if not (username and resource) then
|
if not (username and resource) then
|
||||||
session.send(st.error_reply(stanza, "modify", "bad-request"));
|
session.send(st.error_reply(stanza, "modify", "bad-request"));
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue