diff --git a/html/login.php b/html/login.php
index a4cf1fe3..f10640c0 100644
--- a/html/login.php
+++ b/html/login.php
@@ -23,6 +23,8 @@ if(isset($_POST['username']) && isset($_POST['password'])) {
$_SESSION['email'] = $resultat[0]['email'];
$_SESSION['display_name'] = $resultat[0]['display_name'];
$_SESSION['userid'] = $resultat[0]['ID'];
+ header("Location: index.php");
+ exit();
}
}
}
diff --git a/html/logout.php b/html/logout.php
new file mode 100644
index 00000000..eb269c54
--- /dev/null
+++ b/html/logout.php
@@ -0,0 +1,6 @@
+
\ No newline at end of file