diff --git a/templates/pages/login/logout.html.twig b/templates/pages/login/logout.html.twig index ba4f72b03..8e7791d13 100644 --- a/templates/pages/login/logout.html.twig +++ b/templates/pages/login/logout.html.twig @@ -11,3 +11,10 @@ {% 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 %} \ No newline at end of file