Merge pull request #14792 from bigbluebutton/revert-14791-update-set-secret
Revert "Update securitySalt (shared secret) in bbb-web.properties"
This commit is contained in:
commit
392fb4f863
@ -649,12 +649,10 @@ fi
|
||||
|
||||
if [[ $SECRET ]]; then
|
||||
need_root
|
||||
|
||||
echo "Assigning secret in $BBB_WEB_ETC_CONFIG"
|
||||
if [ -f "$BBB_WEB_ETC_CONFIG" ] && grep "^securitySalt" "$BBB_WEB_ETC_CONFIG" > /dev/null ; then
|
||||
change_var_value "$BBB_WEB_ETC_CONFIG" securitySalt "$SECRET"
|
||||
if get_properties_value securitySalt "$BBB_WEB_ETC_CONFIG" > /dev/null ; then
|
||||
change_var_salt "$BBB_WEB_ETC_CONFIG" securitySalt "$SECRET"
|
||||
else
|
||||
echo "securitySaltL=$SECRET" >> "$BBB_WEB_ETC_CONFIG"
|
||||
echo "securitySalt=$SECRET" >> "$BBB_WEB_ETC_CONFIG"
|
||||
fi
|
||||
|
||||
if [ -f /usr/local/bigbluebutton/bbb-webhooks/config/default.yml ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user