Fixes html

main
Yasen Pramatarov 2025-01-30 18:55:09 +02:00
parent 27a4dca7c6
commit d84c015787
1 changed files with 2 additions and 2 deletions

View File

@ -6,12 +6,12 @@
<form method="POST" action="<?= htmlspecialchars($app_root) ?>?page=login"> <form method="POST" action="<?= htmlspecialchars($app_root) ?>?page=login">
<?php include 'csrf_token.php'; ?> <?php include 'csrf_token.php'; ?>
<div class="form-group mb-3"> <div class="form-group mb-3">
<input type="text" class="form-control" name="username" placeholder="Username". <input type="text" class="form-control w-50 mx-auto" name="username" placeholder="Username".
pattern="[a-zA-Z0-9_-]{3,20}" title="3-20 characters, letters, numbers, - and _" pattern="[a-zA-Z0-9_-]{3,20}" title="3-20 characters, letters, numbers, - and _"
required autofocus /> required autofocus />
</div> </div>
<div class="form-group mb-3"> <div class="form-group mb-3">
<input type="password" class="form-control" name="password" placeholder="Password". <input type="password" class="form-control w-50 mx-auto" name="password" placeholder="Password".
pattern=".{2,}" title="Eight or more characters" pattern=".{2,}" title="Eight or more characters"
required /> required />
</div> </div>