mirror of
https://github.com/bjc/prosody.git
synced 2025-04-03 21:27:38 +03:00
mod_s2s: Fire s2s-check-certificate event after validating a certificate, to allow plugins to override standard procedure
This commit is contained in:
parent
f936068a62
commit
a32c615bc8
1 changed files with 1 additions and 0 deletions
|
@ -168,6 +168,7 @@ local function check_cert_status(session)
|
|||
end
|
||||
end
|
||||
end
|
||||
module:fire_event("s2s-check-certificate", { host = host, session = session, cert = cert });
|
||||
end
|
||||
|
||||
--- XMPP stream event handlers
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue