Added a env variable to toggle visibilty of the customize tab in user settings (#369)

This commit is contained in:
farhatahmad
2019-02-15 12:15:29 -05:00
committed by Jesus Federico
parent c38032ac20
commit 9c23c88735
3 changed files with 15 additions and 4 deletions

View File

@ -81,6 +81,9 @@ module Greenlight
# Configure custom branding image.
config.branding_image = ENV['BRANDING_IMAGE'] || "https://raw.githubusercontent.com/bigbluebutton/greenlight/master/app/assets/images/logo_with_text.png"
# Show/Hide cutomization tab in user settings
config.allow_custom_branding = (ENV['ALLOW_CUSTOM_BRANDING'] == "true")
# Enable/disable recording thumbnails.
config.recording_thumbnails = (ENV['RECORDING_THUMBNAILS'] != "false")