{% extends "admin/layout.html" %} {% block title %}Edit User #{{ user.id }} – Admin{% endblock %} {% block body %}
{% trans %}Back to Users{% endtrans %} /

{% trans %}Edit User{% endtrans %} #{{ user.id }}

{% with messages = get_flashed_messages(with_categories=true) %}{% for cat, msg in messages %}{% endfor %}{% endwith %}

{% trans %}Account Information{% endtrans %}

{% trans %}Subscription & Plan{% endtrans %}

{% trans %}Leave blank for no expiry date.{% endtrans %}

{% trans %}Account Flags{% endtrans %}

{% trans %}Cancel{% endtrans %}

{% trans %}User Stats{% endtrans %}

{% trans %}Uploads{% endtrans %}{{ file_count }}
{% trans %}Conversions{% endtrans %}{{ conv_count }}
{% trans %}Plan{% endtrans %}{{ user.plan_name or 'Free' }}
{% trans %}Status{% endtrans %} {{ user.subscription_status|title if user.subscription_status else 'Free' }}
{% if user.created_at %}
{% trans %}Joined{% endtrans %}{{ user.created_at[:10] }}
{% endif %}
{% trans %}Email Verified{% endtrans %} {% if user.email_verified %} {% trans %}Yes{% endtrans %} {% else %} {% trans %}No{% endtrans %} {% endif %}
{% if user.referral_code %}
{% trans %}Referral Code{% endtrans %}{{ user.referral_code }}
{% endif %}
{% if recent_convs %}

{% trans %}Recent Conversions{% endtrans %}

{% for c in recent_convs %}
{{ c.file_name or 'Unnamed' }}
{{ c.input_format or '?' }} → {{ c.output_format or '?' }}
{{ c.status }}
{% endfor %}
{% endif %} {% if payments %}

{% trans %}Payment History{% endtrans %}

{% for p in payments %}
{{ p.currency }} {{ '%.2f'|format(p.amount) }}
{{ p.method|title }} · {{ p.plan_name or '–' }}
{% if p.recorded_at %}{{ p.recorded_at[:10] }}{% endif %}
{% endfor %}
{% endif %} {% if not user.email_verified %}

{% trans %}Email Verification{% endtrans %}

{% trans %}This user's email is not verified. You can manually mark it as verified.{% endtrans %}

{% endif %} {% if user.user_totp_enabled or user.user_totp_secret %}

{% trans %}Reset 2FA{% endtrans %}

{% trans %}Clears this user's authenticator secret so they can set 2FA up again fresh.{% endtrans %}

{% endif %}

{% trans %}Danger Zone{% endtrans %}

{% trans %}Permanently deletes this user and all their data. This cannot be undone.{% endtrans %}

{% endblock %}