This commit is contained in:
@@ -9,6 +9,7 @@ header('Content-Type: application/json');
|
||||
include "../../config/config.php";
|
||||
// Connect to the database
|
||||
$conn = new mysqli($DB_SERVERNAME, $DB_USERNAME, $DB_PASSWORD, $DB_DATABASE);
|
||||
check_rate_limit($conn, 'register', 5, 60 * 60);
|
||||
|
||||
// Check the connection
|
||||
if ($conn === false) {
|
||||
|
||||
Reference in New Issue
Block a user