0
0

Updated author informations, updated location of included files, structured the website to the new layout, removed local fontawesome and moved to cloud CDN

This commit is contained in:
Bryan Pedini
2019-02-06 12:43:58 +01:00
parent b13167324a
commit d237a5443f
1608 changed files with 289 additions and 41171 deletions

12
lib/php/user_login.php Normal file
View File

@@ -0,0 +1,12 @@
<?php
$user = [
'username' => $_POST [ 'username' ],
'password' => $_POST [ 'password' ],
];
if ( false ) {
//TODO: ask the database if the user exists and check if the password is correct then
}
else {
header ( "Location /" ); //TODO: modify with json response with "Wrong username or password" message
exit;
}