{% if config.RELENGAPI_AUTHENTICATION_TYPE == 'browserid' %} {% if current_user.is_authenticated() %} {{ current_user.authenticated_email }} {% else %} Anonymous {% endif %} {% else %} {% if current_user.is_authenticated() %} {{ current_user.authenticated_email }} {% else %} Anonymous {% endif %} {% endif %}