{% load modal_tags %}
Failed login attempts
{% if failed_attempts %} {% for row in failed_attempts %} {% endfor %}
UserIP addressAttemptsStatus
{{ row.who }} {{ row.ip }} {{ row.attempts }} {% if row.locked %}Locked until {{ row.locked_time }}{% else %}—{% endif %} {{ row.action }}
{% else %}

No failed login attempts recorded.

{% endif %}
Active sessions
{% if sessions %} {% for row in sessions %} {% endfor %}
UserMethodExpires
{{ row.who }} {{ row.method }} {{ row.expires }} {{ row.action }}
{% else %}

No active sessions.

{% endif %}