{% extends 'base.html' %} {% block body %} {% if Session.has('failed_attempt') and Session.get('failed_attempt') < App.Config.configArr.login_tries %} {% set number_of_tries_left = App.Config.configArr.login_tries - Session.get('failed_attempt') %} {{ 'Number of login attempt left before being banned for %s minutes: %s'|trans|format( App.Config.configArr.ban_time, number_of_tries_left)|msg('ko') }} {% endif %} {{ 'Note: You need cookies enabled to log in.'|trans }}
{% if showLocal %}

{{ 'Sign in to your account'|trans }}


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

{% endif %} {% if idpsArr|length > 0 %}

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


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

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


{% endif %}
{% endblock body %}