mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-24 11:08:45 +02:00
N°4838 - Redirect to login page automatically from logoff screen
This commit is contained in:
@@ -11,3 +11,10 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{% endblock %}
|
{% 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 %}
|
||||||
Reference in New Issue
Block a user