{% extends "dashboard/user/user-base.html.twig" %} {% block tab %}

The following list contains all of your trusted devices. When you are using a trusted device you don’t need to enter a verification code each time you log in. Ensure that this list is up to date and remove unnecessary devices.

{% if trusted_devices is empty %}
No trusted devices
{% else %} {% for id, device in trusted_devices %} {% endfor %}
Browser and device Added Last logged in IP Address Action
{{ device['browser'] }}
{{ device['added_on'] }} {{ device['added_on'] }}
{{ device['last_logged_in'] }} {{ device['last_logged_in'] }}
{{ device['ip'] }} {{ device['ip'] }}
{% set params = {'id': id} %}
{{ url.create_form_nonce(constant('TwoFAS\\TwoFAS\\Http\\Route::ACTION_REMOVE_TRUSTED_DEVICE')) | raw }}
{% endif %} {% if not is_current_device_trusted %}
{{ url.create_form_nonce(constant('TwoFAS\\TwoFAS\\Http\\Route::ACTION_ADD_TRUSTED_DEVICE')) | raw }}
{% endif %}
{% include 'modals/confirmation/deletion-confirmation-modal.html.twig' %} {% endblock %}