瀏覽代碼

fix: enable token_verification during installation of jitsi-meet-tokens (#7630)

master
emrah 4 年之前
父節點
當前提交
0e50f1887e
No account linked to committer's email address
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1
    0
      debian/jitsi-meet-tokens.postinst

+ 1
- 0
debian/jitsi-meet-tokens.postinst 查看文件

@@ -58,6 +58,7 @@ case "$1" in
58 58
                 sed -i "s/ --app_id=\"example_app_id\"/ app_id=\"$APP_ID\"/g" $PROSODY_HOST_CONFIG
59 59
                 sed -i "s/ --app_secret=\"example_app_secret\"/ app_secret=\"$APP_SECRET\"/g" $PROSODY_HOST_CONFIG
60 60
                 sed -i 's/ --modules_enabled = { "token_verification" }/ modules_enabled = { "token_verification" }/g' $PROSODY_HOST_CONFIG
61
+                sed -i '/^\s*--\s*"token_verification"/ s/--\s*//' $PROSODY_HOST_CONFIG
61 62
 
62 63
                 # Install luajwt
63 64
                 if ! luarocks install luajwtjitsi; then

Loading…
取消
儲存