{% if user and pending and not request.url.path.startswith('/changes') %}
{% endif %}
{% if secret_days is not none and secret_days <= 30 %}
{% if secret_days < 0 %}The Entra client secret has expired, so nobody can sign in.{% else %}The Entra client secret expires in {{ secret_days }} day{{ '' if secret_days == 1 else 's' }}.{% endif %}
To rotate it, run New-HAPManApp.ps1 again on your Windows or Mac machine, then sudo ./install.sh --entra on the server.
{% endif %}
{% for f in flashes %}
{% endfor %}
{% block content %}{% endblock %}