Browse Source

fix: disable token_verification while removing jitsi-meet-tokens (#7631)

master
emrah 5 years ago
parent
commit
70aa19e6d9
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      debian/jitsi-meet-tokens.postrm

+ 1
- 1
debian/jitsi-meet-tokens.postrm View File

@@ -41,7 +41,7 @@ case "$1" in
41 41
             sed -i 's/authentication = "token"/authentication = "anonymous"/g' $PROSODY_HOST_CONFIG
42 42
             sed -i "s/ app_id=\"$APP_ID\"/ --app_id=\"example_app_id\"/g" $PROSODY_HOST_CONFIG
43 43
             sed -i "s/ app_secret=\"$APP_SECRET\"/ --app_secret=\"example_app_secret\"/g" $PROSODY_HOST_CONFIG
44
-            sed -i 's/ -- "token_verification"/   "token_verification"/g' $PROSODY_HOST_CONFIG
44
+            sed -i '/^\s*"token_verification"/ s/"token_verification"/-- "token_verification"/' $PROSODY_HOST_CONFIG
45 45
 
46 46
             if [ -x "/etc/init.d/prosody" ]; then
47 47
                 invoke-rc.d prosody restart || true

Loading…
Cancel
Save