Fix layout template is_authenticated call

Differential revision: https://developer.blender.org/D3136
This commit is contained in:
Kael Baldwin 2018-04-07 20:15:51 +02:00 committed by Francesco Siddi
parent 9ed526510f
commit 157eed8321

View File

@ -86,7 +86,7 @@ html(lang="en")
script(src="{{ url_for('static_pillar', filename='assets/js/vendor/jquery.bootstrap-3.3.7.min.js') }}")
| {% if current_user.is_authenticated() %}
| {% if current_user.is_authenticated %}
script(src="{{ url_for('static_pillar', filename='assets/js/vendor/jquery.typewatch-3.0.0.min.js') }}")
script.
// When sending an AJAX request, always add the X-CSRFToken header to it.