added login, logout and registration sites and functionality as well as an protected profile page

This commit is contained in:
Patryk Hegenberg 2023-01-08 13:51:00 +01:00
parent cbebac47fa
commit 5b3f5a1123
12 changed files with 163 additions and 28 deletions

4
controllers/logout.php Normal file
View file

@ -0,0 +1,4 @@
<?php
session_start();
session_destroy();
header("Location: /");