diff --git a/LICENSE b/LICENSE index aea024d..78962c0 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2024 balocchi +Copyright (c) 2024 Juliette CHARPENTIER & Loris BALOCCHI Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: diff --git a/account/login/index.php b/account/login/index.php index 5fe9640..00ee10f 100644 --- a/account/login/index.php +++ b/account/login/index.php @@ -1,3 +1,17 @@ + + + diff --git a/account/profile/index.php b/account/profile/index.php index 8f2e209..1c296e4 100644 --- a/account/profile/index.php +++ b/account/profile/index.php @@ -15,7 +15,6 @@ if (isset($_COOKIE['userData'])) { $familyName = $userData['familyName']; $role = $userData['role']; } else { - echo "Cookie 'userData' non trouvé."; header("Location: /account/login"); } ?> @@ -44,17 +43,34 @@ if (isset($_COOKIE['userData'])) {
Prénom : " . $userData['name'] . "
"; - echo "Nom : " . $userData['familyName'] . "
"; - echo "Rôle : " . $userData['role'] . "
"; +Modifiez les informations de votre profil.
+ + + + +Mot de passe : " . $password . "
"; echo "Mot de passe hashé : " . $hashedPassword . "
"; echo "Rôle : " . $role . "
"; - + ?> + Aucun utilisateur n\'a été ajouté."; } @@ -107,14 +110,6 @@ require_once $_SERVER['DOCUMENT_ROOT'] . '/tools/dbConnect.php'; include ($_SERVER['DOCUMENT_ROOT'] . '/views/footer.php'); ?> - - -