Fix: don't redirect to signup on first install when regular login is disabled (#14165)

This commit is contained in:
Boris Rybalkin
2026-09-18 01:14:03 -07:00
committed by GitHub
parent 31d6e984f2
commit 4c4ef5617c
+1 -1
View File
@@ -15,7 +15,7 @@
{% endblock form_top_content %}
{% block form_content %}
{% if FIRST_INSTALL %}
{% if FIRST_INSTALL and not DISABLE_REGULAR_LOGIN %}
<script type="text/javascript">
// forward to the signup page if no users exist
window.location.href = "{{ signup_url }}";