fix pattern for username

This commit is contained in:
Haeniken
2021-10-03 22:03:53 +03:00
parent 55e12eb099
commit c5d2d0aa62

View File

@@ -32,7 +32,7 @@ require_once 'rules.php';
<?php if (!get_config('battlenet_support')) { ?>
<div class="input-group">
<span class="input-group"><?php elang('username'); ?></span>
<input type="text" class="form-control" minlength="2" maxlength="16" pattern="_[a-zA-Z]+" required placeholder="<?php elang('username'); ?>"
<input type="text" class="form-control" pattern="[A-Za-z]{2,16}" required placeholder="<?php elang('username'); ?>"
name="username">
</div>
<?php } ?>