diff --git a/editTasks.html b/editTasks.html
index ea53f0b..38402ac 100644
--- a/editTasks.html
+++ b/editTasks.html
@@ -196,7 +196,7 @@
return response.json();
} else {
localStorage.removeItem('accessToken');
- window.location.href = `${backendUrl}/login`;
+ window.location.href = `${backendUrl}/login?page=${page}`;
}
})
.then(data => {