Pass user config to logo template

pull/271/head
Ben Busby 3 years ago
parent 2406fee05c
commit 37e22d2945
No known key found for this signature in database
GPG Key ID: 3B08611DF6E62ED2

@ -126,7 +126,9 @@ def index():
return render_template('index.html',
languages=app.config['LANGUAGES'],
countries=app.config['COUNTRIES'],
logo=render_template('logo.html'),
logo=render_template(
'logo.html',
config=g.user_config),
config=g.user_config,
tor_available=int(os.environ.get('TOR_AVAILABLE')),
version_number=app.config['VERSION_NUMBER'])

Loading…
Cancel
Save