{% if env["auth_active"] %}
{% if env["username"] %}
{{ _("Logged in as %(username)s", username=env["username"]) }} - {{ _("Log Out") }}
{% else %}
{% endif %}
{% else %}
{{ _("Web Interface Authentication Disabled") }} - {{ _("See Wiki for more information", url="https://github.com/akuker/RASCSI/wiki/Web-Interface#enable-authentication") }}