diff --git a/templates/components/logout.html b/templates/components/logout.html index 391a02500..5db056120 100644 --- a/templates/components/logout.html +++ b/templates/components/logout.html @@ -12,7 +12,7 @@ Please see LICENSE files in the repository root for full details. {% for key, value in post_logout_action|items %} {% endfor %} - {% if caller %} + {% if caller is defined %} {{ caller() }} {% elif as_link %}