mod_onions/mod_onions.lua
changeset 4912 44be2c6087f3
parent 2885 824b0d7fa883
child 4949 fa415cd9eeca
--- a/mod_onions/mod_onions.lua	Tue Mar 15 21:59:51 2022 +0100
+++ b/mod_onions/mod_onions.lua	Thu Mar 17 20:24:43 2022 +0000
@@ -268,6 +268,9 @@
 module:hook_global("s2s-check-certificate", function (event)
 	local host = event.host;
 	if host and host:find("%.onion$") then
+		-- This cancels the event chain without reporting any cert
+		-- validation results. The connection will typically proceed
+		-- to auth using dialback.
 		return true;
 	end
 end);