1
0
Fork 0
mirror of synced 2024-06-03 11:24:48 +12:00

Fixed regex syntax

This commit is contained in:
Eldad Fux 2020-07-08 01:12:45 +03:00
parent bce2412b70
commit b8948d8e18

View file

@ -361,7 +361,7 @@ $customDomainsTarget = $this->getParam('customDomainsTarget', false);
<input type="hidden" name="projectId" data-ls-bind="{{router.params.project}}" />
<label for="name">Domain Name</label>
<input type="text" class="full-width" id="domain" name="domain" placeholder="appwrite.example.com" required autocomplete="off" title="Enter a valid domain name" pattern="^^([a-zA-Z0-9][a-zA-Z0-9-_]*\.)*[a-zA-Z0-9]*[a-zA-Z0-9-_]*[[a-zA-Z0-9]+$" />
<input type="text" class="full-width" id="domain" name="domain" placeholder="appwrite.example.com" required autocomplete="off" title="Enter a valid domain name" pattern="^([a-zA-Z0-9][a-zA-Z0-9-_]*\.)*[a-zA-Z0-9]*[a-zA-Z0-9-_]*[[a-zA-Z0-9]+$" />
<hr />