redirects changed to work

This commit is contained in:
Richard Mikloš 2024-01-23 11:07:20 +01:00
parent b0ccd2653a
commit 337e662705
2 changed files with 2 additions and 2 deletions

@ -35,5 +35,5 @@ if ($_SERVER["REQUEST_METHOD"] == "POST") {
<input type="email" name="email" id="email-field" placeholder="E-Mail" required> <input type="email" name="email" id="email-field" placeholder="E-Mail" required>
<input type="password" name="password" id="password-field" pattern=".{3,32}" placeholder="Password" required> <input type="password" name="password" id="password-field" pattern=".{3,32}" placeholder="Password" required>
<input type="submit" name="login" value="Login"> <input type="submit" name="login" value="Login">
<a href="/register.php">Don't have an account?</a> <a href="/register">Don't have an account?</a>
</form> </form>

@ -4,5 +4,5 @@
<input type="email" name="email" id="email-field" placeholder="E-Mail" 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="password" name="password" id="password-field" pattern=".{8,128}" placeholder="Password" required>
<input type="submit" value="Register"> <input type="submit" value="Register">
<a href="/">Already have an account?</a> <a href="/login">Already have an account?</a>
</form> </form>