mirror of
https://github.com/bjc/prosody.git
synced 2025-04-03 21:27:38 +03:00
mod_dialback: Respect dwd config option
This commit is contained in:
parent
c09c768701
commit
2957bd81cb
1 changed files with 1 additions and 1 deletions
|
@ -82,7 +82,7 @@ module:hook("stanza/jabber:server:dialback:result", function(event)
|
|||
local attr = stanza.attr;
|
||||
local to, from = nameprep(attr.to), nameprep(attr.from);
|
||||
|
||||
if origin.secure then
|
||||
if dwd and origin.secure then
|
||||
if check_cert_status(origin, from) == false then
|
||||
return
|
||||
elseif origin.cert_chain_status == "valid" and origin.cert_identity_status == "valid" then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue