Skip to content
Extraits de code Groupes Projets
Valider 3d63f703 rédigé par Etienne BRATEAU's avatar Etienne BRATEAU
Parcourir les fichiers

bug fix

parent fb4e6642
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -25,16 +25,20 @@ if(isset($_POST['login']) && isset($_POST['password']) && !empty($_POST['login'] ...@@ -25,16 +25,20 @@ if(isset($_POST['login']) && isset($_POST['password']) && !empty($_POST['login']
} }
else else
{ {
header('Location: index.php?err=3');
exit;
} }
$_SESSION['login']= $user->getLogin(); $_SESSION['login']= $user->getLogin();
$_SESSION['id'] = $user->getId(); $_SESSION['id'] = $user->getId();
$_SESSION['type'] = $user->getType(); $_SESSION['type'] = $user->getType();
header('Location: index.php');
exit;
} }
else else
{ {
header('Location: index.php?err=2');
exit;
} }
} }
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter