diff --git a/account/login/login.php b/account/login/login.php index a417031..9881aee 100644 --- a/account/login/login.php +++ b/account/login/login.php @@ -85,7 +85,7 @@ if (!$email) { } -$newURL = "/account/profile"; +$newURL = "/"; header("Location: " . $newURL); die(); diff --git a/account/profile/index.php b/account/profile/index.php index 1c296e4..b3cdd53 100644 --- a/account/profile/index.php +++ b/account/profile/index.php @@ -48,6 +48,15 @@ if (isset($_COOKIE['userData'])) {
Modifiez les informations de votre profil.
+ ❎ Une erreur est survenue lors de la mise à jour de vos informations."; + } else if ($_GET["result"] == "updatesuccess") { + echo "✅ Vos informations ont été mises à jour avec succès.
"; + } + } + ?> - + diff --git a/events/index.php b/events/index.php index 7065435..83113aa 100644 --- a/events/index.php +++ b/events/index.php @@ -19,10 +19,33 @@