{% extends 'users/base.html' %} {% from 'forms/_form.html' import form_header, form_rows, form_footer %} {% block user_content %} {% if indico_config.LOCAL_IDENTITIES %} {% if insecure_login_password_error %} {% call message_box('error') %} {% trans %} The password you used to login is no longer secure: {% endtrans %} {{ insecure_login_password_error }}
{% trans %} You need to change your password in order to keep using Indico. {% endtrans %} {% endcall %} {% endif %}
{% trans %}Local Account{% endtrans %}
{% if not user.local_identity %} {% else %} {{ form_header(form, orientation='vertical', classes='no-block-padding') }} {{ form_rows(form) }} {% call form_footer(form) %} {% endcall %} {% endif %} {% if user.secondary_local_identities %}

  • {% trans count = user.secondary_local_identities|count -%} You have another local account that has been used in the past. {%- pluralize -%} You have {{ count }} other local accounts that have been used in the past. {%- endtrans -%} {% trans %}Show{% endtrans %}
  • {% for identity in user.secondary_local_identities %}
  • {{ identity.identifier }} {% trans %}Last login:{% endtrans %} {% if identity.last_login_dt %} {{ identity.last_login_dt | format_datetime('short') }} {% else %} {% trans %}Never{% endtrans %} {% endif %}
  • {% endfor %}
{% endif %}
{% endif %}
{%- trans %}External Accounts{% endtrans -%}

{% trans %}External accounts linked with your Indico profile.{% endtrans %}

    {% if user.external_identities %} {% for identity in user.external_identities | sort(attribute='safe_last_login_dt', reverse=True) %}
  • {{ provider_titles.get(identity.provider, identity.provider) }} ({{ identity.identifier }}) {% trans %}Last login:{% endtrans %} {% if identity.last_login_dt %} {{ identity.last_login_dt | format_datetime('short') }} {% else %} {% trans %}Never{% endtrans %} {% endif %} {% if identity.id == session.login_identity %} {% elif insecure_login_password_error %} {% else %} {% endif %}
  • {% endfor %} {% else %}
{% endif %}
{% endblock %}