{% set use_browserid = LANG|lower in config.BROWSERID_LOCALES.split(' ') %} {% if user.is_authenticated() %} {% else %} {% endif %}