🔧 modification du login/register + implémentation du cookie de session

Co-authored-by: Charpentier Juliette <juliette.charpentier1@etu.u-pec.fr>
This commit is contained in:
2024-06-10 23:23:51 +02:00
parent af3d102605
commit 0070f84ea4
9 changed files with 321 additions and 96 deletions

View File

@@ -29,7 +29,7 @@
<img src="https://cdn-icons-png.flaticon.com/512/4139/4139948.png" alt="Avatar">
<h2>Créer un compte</h2>
<p>Créez un nouveau compte afin d'accéder à l'entièreté du site.</p>
<form>
<form action="register/register.php" method="post">
<div class="form-group">
<label for="name"><span style="color:red;"><abbr title="Requis">*</abbr></span> Prénom</label>
<input type="text" id="name" name="name" placeholder="Jean" required placeholder=" ">
@@ -50,7 +50,7 @@
<div class="form-group">
<label for="code-role">Code rôle :</label>
<input type="text" id="code-role" name="code-role" placeholder="M25QP" placeholder=" ">
<input type="text" id="code-role" name="code-role" placeholder="A69DP" placeholder=" ">
</div>
<button type="submit" class="submit-button"><i class="fas fa-sign-in-alt"></i>