diff --git a/cryptide_project/src/Pages/LoginForm.tsx b/cryptide_project/src/Pages/LoginForm.tsx
index 9800f65..42066a1 100644
--- a/cryptide_project/src/Pages/LoginForm.tsx
+++ b/cryptide_project/src/Pages/LoginForm.tsx
@@ -36,8 +36,8 @@ const SignIn = () => {
setShowConfirmation(true);
setTimeout(async () => {
await login();
- navigate('/play'); // 3 secondes avant de rediriger vers la page de connexion
- }, 3000);
+ navigate('/'); // 3 secondes avant de rediriger vers la page de connexion
+ }, 1250);
}
} catch (error: any) {
setError(error.message);
@@ -103,8 +103,8 @@ const SignIn = () => {
)}
{showConfirmation && (
-
- Connexion réussie ! Vous serez redirigé vers votre profil dans 3 secondes.
+
+ Connexion réussie ! Vous allez être redirigé vers la page principale.
)}
diff --git a/cryptide_project/src/Pages/Profile.tsx b/cryptide_project/src/Pages/Profile.tsx
index 1e96b92..aabb873 100644
--- a/cryptide_project/src/Pages/Profile.tsx
+++ b/cryptide_project/src/Pages/Profile.tsx
@@ -97,7 +97,7 @@ const Profile = () => {
}
handleCloseDeleteModal();
- navigate("/play")
+ navigate("/")
} else {
console.error('Phrase de confirmation incorrecte.');
diff --git a/cryptide_project/src/Pages/SignUpForm.tsx b/cryptide_project/src/Pages/SignUpForm.tsx
index 2796999..64e2d28 100644
--- a/cryptide_project/src/Pages/SignUpForm.tsx
+++ b/cryptide_project/src/Pages/SignUpForm.tsx
@@ -33,7 +33,7 @@ const SignUp = () => {
setShowConfirmation(true);
setTimeout(() => {
navigate('/login'); // 3 secondes avant de rediriger vers la page de connexion
- }, 3000);
+ }, 1250);
}
} catch (error: any) {
setError(error.message);
@@ -100,8 +100,8 @@ const SignUp = () => {
)}
{showConfirmation && (
-
- Inscription réussie ! Vous serez redirigé vers la page de connexion dans 3 secondes.
+
+ Inscription réussie ! Vous serez redirigé vers la page de connexion.
)}
diff --git a/cryptide_project/src/server/db/socialgraph.db b/cryptide_project/src/server/db/socialgraph.db
index 0b29b18..720d35d 100644
Binary files a/cryptide_project/src/server/db/socialgraph.db and b/cryptide_project/src/server/db/socialgraph.db differ