{% extends "admin/_layout.html" %} {% from "_macros.html" import icon %} {% set section = "general" %} {% block title %}General - LLeMbas{% endblock %} {% block heading %}General{% endblock %} {% block admin_content %}

Instance-wide settings. These are stored in the database and take effect immediately — no restart, and they survive one.

{% if saved %}
{{ icon("check", "icon--sm") }} Settings saved.
{% endif %}

Identity

Shown in the browser tab and on the sign-in page.

Registration {% if values.allow_signup %} open {% else %} closed {% endif %}

Turn this off once your users exist. Sign-in is unaffected — existing accounts keep working, and the "Create one" link disappears from the sign-in page.

{% if values.allow_signup and user_count > 0 %}
{{ icon("warning", "alert__icon") }}
Registration is open.
This instance has {{ user_count }} account{{ '' if user_count == 1 else 's' }}. Anyone who can reach it can add another, and every account can use your configured models and API keys.
{% endif %}

LEMBAS_ALLOW_SIGNUP in the environment sets only the starting value. Once saved here, this setting wins.

{% endblock %}