servnest/pg-view/auth/username.php
2023-07-17 21:15:18 +02:00

10 lines
688 B
PHP

<?php declare(strict_types=1); ?>
<form method="post">
<label for="current-password"><?= _('Current password') ?></label><br>
<input required="" autocomplete="current-password" minlength="8" maxlength="1024" pattern="<?= PASSWORD_REGEX ?>" id="current-password" name="current-password" type="password" placeholder="<?= PLACEHOLDER_PASSWORD ?>"><br>
<label for="new-username"><?= _('New username') ?></label><br>
<input required="" autocomplete="username" minlength="1" maxlength="1024" pattern="<?= USERNAME_REGEX ?>" id="new-username" name="new-username" type="text" placeholder="<?= PLACEHOLDER_USERNAME ?>"><br>
<input type="submit" value="<?= _('Update username') ?>">
</form>