made it so nobody can register anymore

This commit is contained in:
Richard Mikloš 2024-01-25 21:01:07 +01:00
parent 18071aa16c
commit 56bdc1cf96
2 changed files with 6 additions and 4 deletions

@ -1,11 +1,13 @@
<!--PAGENAME=Register-->
<h2>Register</h2>
<!--<h2>Register</h2>
<form action="register.php" method="post">
<input type="text" name="username" id="username-field" pattern=".{3,32}" placeholder="Username" required>
<input type="email" name="email" id="email-field" placeholder="E-Mail" required>
<input type="password" name="password" id="password-field" pattern=".{8,128}" placeholder="Password" required>
<input type="submit" value="Register">
<a href="/login">Already have an account?</a>
</form>
</form>-->
<h1>We're sorry but this website is currently not public.</h1>

@ -1,7 +1,7 @@
<?php
session_start();
require_once 'config.php';
/*
// Handle registration form submission
if ($_SERVER["REQUEST_METHOD"] == "POST") {
// Validate that required fields are provided
@ -59,5 +59,5 @@ if ($_SERVER["REQUEST_METHOD"] == "POST") {
}
}
}
*/
?>