{% extends 'base.html' %} {% block body %} {% if App.Config.configArr.login_announcement %} {{ App.Config.configArr.login_announcement|msg('warning') }} {% endif %}
logo elabftw {% if App.Session.has('initial_team_selection_required') %}

{{ 'Request access to a team'|trans }}


{{ App.Session.get('csrf')|csrf }}
{{ 'Select a team'|trans }}
{% elseif App.Session.has('teaminit_done') %} {{ 'Your account has been created and will need to be validated by an admin.'|trans|msg('ok') }} {% elseif App.Session.has('team_selection_required') %}
{{ App.Session.get('csrf')|csrf }}
{% elseif App.Request.server.get(App.Config.configArr.extauth_remote_user) %}
{{ App.Session.get('csrf')|csrf }}

{{ 'You are already authenticated'|trans }}


{% else %} {% if showLocal or App.Config.configArr.ldap_toggle %}
{{ App.Session.get('csrf')|csrf }}

{{ 'Login to your account'|trans }}


{% if showLocal %} {{ 'Forgot password?'|trans }} {% endif %}
{% if App.Config.configArr.ldap_toggle %}
{% if showLocal %} {% endif %}
{% else %} {% endif %}
{% if App.Config.configArr.local_register %}

{{ "Don't have an account? %sRegister%s now!"|trans|format( "", "")|raw }}

{% endif %} {% endif %} {% if App.Config.configArr.saml_toggle %}

{{ 'Login through your institution'|trans }}


{{ App.Session.get('csrf')|csrf }}
{% endif %} {% if App.Config.configArr.anon_users %}

{{ 'Login as anonymous visitor'|trans }}


{{ App.Session.get('csrf')|csrf }}
{{ 'Select a team'|trans }}
{% endif %} {% endif %}
{% endblock body %}