N°4838 - Redirect to login page automatically from logoff screen

This commit is contained in:
Molkobain
2022-08-04 22:51:14 +02:00
parent aad4a5e20c
commit 1655a377f0

View File

@@ -11,3 +11,10 @@
</div>
</div>
{% endblock %}
{% block ready_script %}
{{ parent() }}
// Redirect after 2s so the user has time to read the message
setTimeout(function() { window.location.href = '{{ sUrl }}'; }, 1000);
{% endblock %}