{% extends "pretixcontrol/base.html" %} {% load i18n %} {% load bootstrap3 %} {% load icon %} {% block title %}{% trans "User" %}{% endblock %} {% block content %}

{% trans "User" %} {{ user.email }}

{% if user.auth_backend == "native" %}

{% csrf_token %}
{% endif %} {% if user.require_2fa %}
{% csrf_token %}
{% endif %}
{% csrf_token %}
{% trans "Anonymize" %}

{% csrf_token %} {% bootstrap_form_errors form %}
{% trans "Base settings" %} {% bootstrap_field form.is_active layout='control' %} {% bootstrap_field form.fullname layout='control' %} {% bootstrap_field form.locale layout='control' %} {% bootstrap_field form.timezone layout='control' %} {% bootstrap_field form.is_staff layout='control' %}
{% trans "Log-in settings" %}
{% if user.auth_backend_identifier %}
{% endif %} {% bootstrap_field form.email layout='control' %} {% if form.new_pw %} {% bootstrap_field form.new_pw layout='control' %} {% bootstrap_field form.new_pw_repeat layout='control' %} {% bootstrap_field form.is_verified layout='control' %} {% endif %} {% bootstrap_field form.last_login layout='control' %} {% bootstrap_field form.needs_password_change layout='control' %} {% bootstrap_field form.require_2fa layout='control' %}

{% trans "Available two-factor authentication methods" %}

{% for d in devices %} {% endfor %}
{% if d.model_label == 'otp_totp.totpdevice' %} TOTP {% elif d.model_label == 'pretixbase.u2fdevice' %} U2F {% elif d.model_label == 'pretixbase.webauthndevice' %} WebAuthn {% elif d.model_label == 'otp_static.staticdevice' %} {% trans "Emergency tokens" %} {% endif %} {% if d.confirmed %} {% icon "check" %} {% else %} {% icon "warning" %} {% endif %} {{ d.name }} {% if d.throttling_failure_timestamp %} {% blocktrans trimmed with date=d.throttling_failure_timestamp|date:"SHORT_DATETIME_FORMAT" count cnt=d.throttling_failure_count %} 1 failed attempt since {{ date }} {% plural %} {{ cnt }} failed attempts since {{ date }} {% endblocktrans %}
{% endif %} {% if d.throttling_enabled and not d.verify_is_allowed.0 %} {% blocktrans trimmed with date=d.verify_is_allowed.1.locked_until|date:"SHORT_DATETIME_FORMAT" %} Currently locked until {{ date }} {% endblocktrans %}
{% endif %} {% if d.model_label == 'otp_totp.totpdevice' %} step = {{ d.step }}, t0 = {{ d.t0 }}, digits = {{ d.digits }}, tolerance = {{ d.tolerance }}, drift = {{ d.drift }}, last_t = {{ d.last_t }} {% elif d.model_label == 'pretixbase.u2fdevice' %} sign_count = {{ d.sign_count }} {% elif d.model_label == 'otp_static.staticdevice' %} token_count = {{ d.token_set.count }} {% endif %}
{% trans "Team memberships" %}

{% trans "User history" %}

{% include "pretixcontrol/includes/logs.html" with obj=user %}
  • {{ user.date_joined|date:"SHORT_DATETIME_FORMAT" }}

    {% trans "User created." %}

  • {% csrf_token %}
    {% endblock %}