Bläddra i källkod

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

j8
emrah 5 år sedan
förälder
incheckning
0e50f1887e
Inget konto är kopplat till bidragsgivarens mejladress
1 ändrade filer med 1 tillägg och 0 borttagningar
  1. 1
    0
      debian/jitsi-meet-tokens.postinst

+ 1
- 0
debian/jitsi-meet-tokens.postinst Visa fil

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

Laddar…
Avbryt
Spara