From 0e50f1887eff6b500ea06a404834ad8e9dff624b Mon Sep 17 00:00:00 2001 From: emrah Date: Fri, 4 Sep 2020 18:17:54 +0300 Subject: [PATCH] fix: enable token_verification during installation of jitsi-meet-tokens (#7630) --- debian/jitsi-meet-tokens.postinst | 1 + 1 file changed, 1 insertion(+) diff --git a/debian/jitsi-meet-tokens.postinst b/debian/jitsi-meet-tokens.postinst index 45c42e5c5..db1452f39 100644 --- a/debian/jitsi-meet-tokens.postinst +++ b/debian/jitsi-meet-tokens.postinst @@ -58,6 +58,7 @@ case "$1" in sed -i "s/ --app_id=\"example_app_id\"/ app_id=\"$APP_ID\"/g" $PROSODY_HOST_CONFIG sed -i "s/ --app_secret=\"example_app_secret\"/ app_secret=\"$APP_SECRET\"/g" $PROSODY_HOST_CONFIG sed -i 's/ --modules_enabled = { "token_verification" }/ modules_enabled = { "token_verification" }/g' $PROSODY_HOST_CONFIG + sed -i '/^\s*--\s*"token_verification"/ s/--\s*//' $PROSODY_HOST_CONFIG # Install luajwt if ! luarocks install luajwtjitsi; then