fix(auth): strictly respect demo_access_enabled setting on login page and error redirects

This commit is contained in:
2026-10-07 17:30:24 -03:00
parent eb239ddb21
commit b7f790eed1
2 changed files with 6 additions and 9 deletions
+1 -1
View File
@@ -190,7 +190,7 @@
</div>
{% endif %}
{% if demo_access_enabled is not defined or demo_access_enabled %}
{% if demo_access_enabled %}
<!-- Accesos Rápidos Institucionales (Demo) -->
<div class="p-3 bg-body-tertiary rounded-3 border mt-3">
<div class="d-flex justify-content-between align-items-center mb-2">