Hopefuly fixed checks

This commit is contained in:
Richard Mikloš 2024-01-20 17:29:18 +01:00
parent 044ac5811c
commit a040aded1b
2 changed files with 3 additions and 3 deletions

@ -10,7 +10,7 @@
<h2>Login</h2>
<form action="../login.php" method="post">
<input type="email" name="email" id="email-field" placeholder="E-Mail" required>
<input type="password" name="password" id="password-field" pattern="\w{8,128}" placeholder="Password" required>
<input type="password" name="password" id="password-field" pattern=".{3,32}" placeholder="Password" required>
<input type="submit" value="Login">
</form>
</body>

@ -9,9 +9,9 @@
<body>
<h2>Register</h2>
<form action="../register.php" method="post">
<input type="text" name="username" id="username-field" pattern="\w{3,32}" placeholder="Username" required>
<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="\w{8,128}" placeholder="Password" required>
<input type="password" name="password" id="password-field" pattern=".{8,128}" placeholder="Password" required>
<input type="submit" value="Register">
</form>
</body>