diff --git a/docker/nginx/templates/pages/401.html.template b/docker/nginx/templates/pages/401.html.template
index 0a5af747..2e7c9853 100644
--- a/docker/nginx/templates/pages/401.html.template
+++ b/docker/nginx/templates/pages/401.html.template
@@ -82,7 +82,7 @@
if (window.location.hostname.endsWith("${PORTAL_DOMAIN}")) {
setTimeout(function redirect() {
window.location.href = "https://account.${PORTAL_DOMAIN}/auth/login";
- }, 3000);
+ }, 5000); // redirect after 5 secons
}