{% extends "superadmin/base.html" %} {% block extra_css %} {% endblock %} {% block content %}
Security & Authentication

Security Center

Monitor login activity, authentication attempts, failed access events, IP addresses and platform security activity.

Security Monitoring Active
◉

Total Events

{{ logs|length }}

Current filtered security events

✓

Successful

—

Successful authentication events

!

Failed

—

Failed authentication attempts

⌕

Status Filter

{% if selected_status %} {{ selected_status }} {% else %} All {% endif %}

Active security filter

⌕

Search Security Events

Search by username, email, IP address or company.

⛨

Authentication Activity

Latest login and logout events

{{ logs|length }} event{{ logs|length|pluralize }}
{% if logs %}
{% for log in logs %} {% endfor %}
Actor Action Status Company Reason IP Address User Agent Date & Time
{% if log.identifier %} {{ log.identifier|slice:":1"|upper }} {% else %} ? {% endif %}
{{ log.identifier|default:"Unknown user" }}
{{ log.get_actor_type_display }}
{% if log.action == "LOGIN" %} {% elif log.action == "LOGOUT" %} ↙ Logout {% else %} {{ log.get_action_display }} {% endif %} {% if log.status == "SUCCESS" %} Success {% else %} Failed {% endif %} {% if log.company %}
{{ log.company.Brand_Name|default:log.company.Registered_Company_Name }}
{% else %} Platform {% endif %}
{% if log.reason %}
{{ log.reason }}
{% else %} — {% endif %}
{% if log.ip_address %} {{ log.ip_address }} {% else %} Not recorded {% endif %} {% if log.user_agent %}
{{ log.user_agent }}
{% else %} Not recorded {% endif %}
{{ log.created_at|date:"d M Y, h:i A" }}
{{ log.created_at|timesince }} ago
{% else %}
⛨

No Security Events Found

There are no authentication events matching your current filters. Clear the filters to view all available security records.

{% endif %}
⛨

Authentication Monitoring

Login and logout activity is recorded by the existing authentication system for platform security monitoring.

◉

IP Tracking

When available, the originating IP address is displayed with each authentication event.

!

Failed Attempts

Failed authentication attempts are separated visually so they can be reviewed quickly.

{% endblock %}