pouet mise a jour pouet

This commit is contained in:
2019-03-05 14:20:14 +01:00
parent 0ebf00dd4c
commit bd886e444e
15 changed files with 259 additions and 123 deletions

View File

@ -17,7 +17,6 @@ class LoginController extends Controller {
if(isset($_POST["username"]) && isset($_POST["password"])) {
$user = Author::getByUsername($_POST["username"]);
var_dump($user);
if($user->checkPassword($_POST["password"])) {
$_SESSION["author"] = $user;
if(isset($_GET["redirect"])) header("Location: " . $_GET["redirect"]);