Skip to content

Commit

Permalink
Update MinecraftUserAddTextForm.class.php
Browse files Browse the repository at this point in the history
  • Loading branch information
xXSchrandXx committed Feb 8, 2022
1 parent 8b1e588 commit 8ecb55f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion files/lib/acp/form/MinecraftUserAddTextForm.class.php
Expand Up @@ -104,7 +104,7 @@ public function createForm()
->description('wcf.page.minecraftUserAddACP.minecraftUUID.description')
->minimumLength(36)
->maximumLength(36)
->pattern('/^[0-9A-F]{8}-[0-9A-F]{4}-4[0-9A-F]{3}-[89AB][0-9A-F]{3}-[0-9A-F]{12}$/i')
->pattern('^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-4[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$')
->placeholder('XXXXXXXX-XXXX-4XXX-XXXX-XXXXXXXXXXXX')
->addValidator(new FormFieldValidator('checkMinecraftUser', function (TextFormField $field) {
$minecraftUserList = new MinecraftUserList();
Expand Down

0 comments on commit 8ecb55f

Please sign in to comment.