{% extends 'layouts/base.html' %} {% block content %}

Users & IP Restriction

Passwords are securely hashed and cannot be viewed. Set a new password below when access must be reset. The final active super administrator cannot be deactivated or changed to another role.

{% for u in users %} {% endfor %}
Name Email Role Status Locked Superadmin IP External Access Sales Approver Chat Access Theme Last Login Failed Action
{{ u.name }} {{ u.email }} {{ u.role }} {{ u.status }} {% if trusted_ip %} {{ trusted_ip }} {% else %} Not locked {% endif %} {{ 'No - locked IP only' if u.ip_restricted else 'Yes - any IP' }}
{{ 'Enabled' if u.can_initiate_chat else 'Disabled' }} {{ u.ui_theme or 'default' }} {{ u.last_login_at or '-' }} {% if u.last_login_ip %}
{{ u.last_login_ip }}{% endif %}
{{ u.failed_login_count }} {% if u.employee_id %} Edit Employee {% else %} Create Employee Profile {% endif %} {{ 'Deactivate' if u.status == 'active' else 'Activate' }}
{% endblock %}