Archived
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:
1608 files changed
+289
-41171
No files matched your search
@@ -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;
|
||||
}
|
||||
Reference in new issue
Block a user