{% extends 'base.html' %} {% block title %}Settings – IT Asset Management{% endblock %} {% block breadcrumb %} {% endblock %} {% block content %}
Application Users {% if current_user.is_admin %}
{% endif %}
{% if current_user.is_admin %}{% endif %} {% for a in admins %} {% if current_user.is_admin %} {% endif %} {% endfor %}
UsernameFull NameEmailRoleLast LoginActive
{{ a.username }}{% if a.id == current_user.id %} you{% endif %} {{ a.full_name or '—' }} {{ a.email }} {{ a.role }} {{ a.last_login.strftime('%d/%m/%Y') if a.last_login else '—' }} {% if a.is_active %}Active {% else %}Inactive{% endif %} {% if a.id != current_user.id %}
{% endif %}
{% if current_user.is_admin %} {% endif %}
LDAP / AD Configuration

LDAP settings are managed via environment variables (see .env file). Restart the application after changing these values.

LDAP_SERVER{{ config.LDAP_SERVER or '(not set)' }}
LDAP_PORT{{ config.LDAP_PORT }}
LDAP_USE_SSL{{ config.LDAP_USE_SSL }}
LDAP_BASE_DN{{ config.LDAP_BASE_DN or '(not set)' }}
LDAP_BIND_USER{{ config.LDAP_BIND_USER or '(not set)' }}
Windows ID attr{{ config.LDAP_WINDOWS_ID_ATTR }}
{% if current_user.is_editor %} Go to Import / Sync {% endif %}
Company Info (for PDFs)
COMPANY_NAME{{ config.COMPANY_NAME or '(not set)' }}
COMPANY_ADDRESS{{ config.COMPANY_ADDRESS or '(not set)' }}

Edit these in .env and restart.

{% if current_user.is_admin %} {% for a in admins %} {% if a.id != current_user.id %} {% endif %} {% endfor %} {% endif %} {% endblock %}