{% extends "base.html" %} {% block title %}{{ target.display_name }} · {{ appearance.name }}{% endblock %} {% block content %}

← {{ _('All users') }}

{{ target.display_name }}

{{ target.email }}

{% if error %}{% endif %}
{{ csrf_field(request) }}
{{ _('Created') }}
{{ target.created_at | datetime }}
{{ _('Last sign-in') }}
{{ target.last_login_at | datetime }}
{{ _('Two-factor authentication') }}
{% if target.has_totp %}{{ _('Authenticator app') }}{% endif %} {% if target.has_passkey %}{{ ngettext('%(num)d passkey', '%(num)d passkeys', target.passkeys | length) }}{% endif %} {% if not target.has_second_factor %}{{ _('off') }}{% endif %}
{{ _('Groups') }}
{% for g in groups %}{{ g.name }}{% if not loop.last %}, {% endif %}{% else %}–{% endfor %}

{% if target.password_hash %}{{ _('Reset sign-in') }}{% else %}{{ _('Invitation link') }}{% endif %}

{% if target.password_hash %} {{ _('Creates a one-time link with which the person sets a new password. Valid for 24 hours.') }} {% else %} {{ _('Creates a new invitation link. Valid for 7 days; earlier links become invalid.') }} {% endif %}

{{ csrf_field(request) }} {% if target.has_second_factor %} {% endif %}

{{ _('By email, the link goes to %(address)s and is not shown here.', address=target.email) }}

{{ csrf_field(request) }}

{{ _('Data of this user') }}

{{ _('For a request for access: everything stored about this person, as a JSON file. The export is recorded in the log.') }}

{{ csrf_field(request) }}
{% if user and target.id != user.id %}

{{ _('Delete user') }}

{{ _('Deletes the account with all its data. You see beforehand exactly what will be deleted and decide what happens to the forms of this user.') }}

{{ _('Delete user …') }}

{% endif %} {% endblock %}