{% extends "base.html" %} {% block title %}User Management - Enterprise VPN Hub{% endblock %} {% block content %}

VPN User Management

Create, edit, delete users and set permitted VPN protocols per user

Configured Users ({{ users|length }})

{% if users %}
{% for u in users %} {% endfor %}
Username Status Allowed Protocols Assigned IPs Created Last Login Actions
{{ u['username'] }} {% if u['is_active'] == 1 %} Active {% else %} Disabled {% endif %}
{% if u['allowed_wireguard'] == 1 %} WireGuard {% endif %} {% if u['allowed_openvpn'] == 1 %} OpenVPN {% endif %} {% if u['allowed_wireguard'] != 1 and u['allowed_openvpn'] != 1 %} None {% endif %}
{% if u['wg_ip'] %}
WG: {{ u['wg_ip'] }}
{% endif %} {% if u['ovpn_ip'] %}
OVPN: {{ u['ovpn_ip'] }}
{% endif %}
{{ u['created_at'][:16] if u['created_at'] else '-' }} {{ u['last_login'][:16] if u['last_login'] else 'Never' }}
{% else %}
No individual VPN users created yet. Click "Create New User" above to add one.
{% endif %}
{% endblock %}