Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (count($formError) == 0 && isset($_POST['submitConnect'])) {
- $connectingUser->mail = $mail;
- $existingMail = $connectingUser->existMailConnexion();
- if ($existingMail && password_verify($password, $existingMail->password)) {
- $_SESSION['user'] = $existingMail;
- ?>
- <script>window.location = "http://clairiere/index.php?page=accueil";</script>
- <?php
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement