From 157eed8321b982662d245ade199f6ee40533cd8f Mon Sep 17 00:00:00 2001 From: Kael Baldwin <> Date: Sat, 7 Apr 2018 20:15:51 +0200 Subject: [PATCH] Fix layout template is_authenticated call Differential revision: https://developer.blender.org/D3136 --- src/templates/layout.pug | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/templates/layout.pug b/src/templates/layout.pug index 0cfb79a9..2c9e727c 100644 --- a/src/templates/layout.pug +++ b/src/templates/layout.pug @@ -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.