From 31a731e247de33132a11ecc206a25c45c9135b48 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luc=C3=A0s?= Date: Tue, 23 Apr 2024 15:21:27 +0200 Subject: [PATCH] feat(DevWeb): Change redirection on login submit --- S2/DevWeb/Projet/src/main/webapp/WEB-INF/tags/forms/login.tag | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/S2/DevWeb/Projet/src/main/webapp/WEB-INF/tags/forms/login.tag b/S2/DevWeb/Projet/src/main/webapp/WEB-INF/tags/forms/login.tag index 590d52e..27b4367 100644 --- a/S2/DevWeb/Projet/src/main/webapp/WEB-INF/tags/forms/login.tag +++ b/S2/DevWeb/Projet/src/main/webapp/WEB-INF/tags/forms/login.tag @@ -48,7 +48,7 @@ .then(data => { if (data.code !== 200) throw new Error(data.message); }) - .then(() => window.location.href = "${pageContext.request.contextPath}/main-menu") + .then(() => window.location.href = "${pageContext.request.contextPath}/lobby") .catch((error) => { console.log(error)