Commit cacb377bcbba1042772d1e1d9c5957c040b33b83

Authored by grouille
1 parent adb9734d

Test

Showing 1 changed file with 2 additions and 4 deletions   Show diff stats
site/inscription.php
... ... @@ -25,16 +25,14 @@ if(getGroupe($_SESSION['Login'])!=1)
25 25 <div class="row syst">
26 26 <div class="inscritpion">
27 27 <?php
28   - $retour = "Nouveau compte créé avec succès ";
29   - $color = "alert-success";
30 28 if (notAMember($_POST["id"]))
31 29 {
32 30 if($_POST["pass1"]==$_POST["pass2"])
33 31 {
34 32 if(inscription($_POST["id"], $_POST["pass1"], $_POST["nom"], $_POST["prenom"], $_POST["groupe"]))
35 33 {
36   - $_SESSION['Login'] = $_POST['id'];
37   - $_SESSION['Password'] = $_POST['pass1'];
  34 + $retour = "Nouveau compte créé avec succès ";
  35 + $color = "alert-success";
38 36 }
39 37 else
40 38 {
... ...