Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

On token verification failure return error, reason and stop processing.

damencho98111c3593ac
diff --git a/resources/prosody-plugins/mod_auth_token.lua b/resources/prosody-plugins/mod_auth_token.lua
index 93635f512b..d83fde6ada 100644
--- a/resources/prosody-plugins/mod_auth_token.lua
+++ b/resources/prosody-plugins/mod_auth_token.lua
@@ -63,6 +63,7 @@ function provider.get_sasl_handler(session)
if (res == false) then
log("warn",
"Error verifying token err:%s, reason:%s", error, reason);
+ return res, error, reason;
end
local customUsername