2023-07-17 19:15:18 +00:00
|
|
|
<?php declare(strict_types=1); ?>
|
2022-12-20 20:17:03 +00:00
|
|
|
<form method="post">
|
2023-03-09 13:23:28 +00:00
|
|
|
<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>
|
|
|
|
|
2023-01-21 00:27:52 +00:00
|
|
|
<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>
|
2022-12-20 20:17:03 +00:00
|
|
|
|
2023-01-21 00:27:52 +00:00
|
|
|
<input type="submit" value="<?= _('Update username') ?>">
|
2022-12-20 20:17:03 +00:00
|
|
|
</form>
|