{% extends 'base.html' %} {% block title %}Settings – IT Asset Management{% endblock %} {% block breadcrumb %}
| Username | Full Name | Role | Last Login | Active | ||
|---|---|---|---|---|---|---|
| {{ a.username }} | {{ 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 %} |
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 }} |
| COMPANY_NAME | {{ config.COMPANY_NAME or '(not set)' }} |
|---|---|
| COMPANY_ADDRESS | {{ config.COMPANY_ADDRESS or '(not set)' }} |
Edit these in .env and restart.