prepare($sql); $stmt->execute(array("email"=> $email)); $user = $stmt->fetch(); } catch (PDOException $e) { die ("Something happened: ". $e->getMessage()); } if (password_verify($password, $user["password"])) { $_SESSION["id"] = $user["id"]; $_SESSION["auth"] = true; if (isset($query['callback'])) { header("Location: ".$query['callback']); } else { header("Location: /account"); } exit; } else { $message = "Email or password incorrect."; } } ?>

Sign in to ByeCorps ID

$message"; }?>

New? Register for a ByeCorps ID.