Browse Source

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

master
emrah 4 years ago
parent
commit
0e50f1887e
No account linked to committer's email address
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      debian/jitsi-meet-tokens.postinst

+ 1
- 0
debian/jitsi-meet-tokens.postinst View File

58
                 sed -i "s/ --app_id=\"example_app_id\"/ app_id=\"$APP_ID\"/g" $PROSODY_HOST_CONFIG
58
                 sed -i "s/ --app_id=\"example_app_id\"/ app_id=\"$APP_ID\"/g" $PROSODY_HOST_CONFIG
59
                 sed -i "s/ --app_secret=\"example_app_secret\"/ app_secret=\"$APP_SECRET\"/g" $PROSODY_HOST_CONFIG
59
                 sed -i "s/ --app_secret=\"example_app_secret\"/ app_secret=\"$APP_SECRET\"/g" $PROSODY_HOST_CONFIG
60
                 sed -i 's/ --modules_enabled = { "token_verification" }/ modules_enabled = { "token_verification" }/g' $PROSODY_HOST_CONFIG
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
                 # Install luajwt
63
                 # Install luajwt
63
                 if ! luarocks install luajwtjitsi; then
64
                 if ! luarocks install luajwtjitsi; then

Loading…
Cancel
Save