mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2026-11-06 06:49:23 +00:00
Fix: don't redirect to signup on first install when regular login is disabled (#14165)
This commit is contained in:
1 parent
31d6e984f2
commit
4c4ef5617c
1 file changed
+1
-1
@@ -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 }}";
|
||||
|
||||
Reference in new issue
Block a user