Skip to content

Commit

Permalink
fix: [MINT-3059] Limit Extend Store Id to 36 characters (#155)
Browse files Browse the repository at this point in the history
Limit Extend Store Id to 36 characters since it should be a v4 uuid
  • Loading branch information
joshuathompsonextend authored Nov 12, 2024
1 parent 4379de8 commit 5350dc6
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ $showTimeline = $status !== 4 && $status !== 3;
<?php if (!$this->isProdEnvironment()): ?>
<div>
<label for="extend_store_id">Extend Store ID to use (leave empty to create a store)</label>
<input type="text" name="extend_store_id" id="extend_store_id" />
<input type="text" name="extend_store_id" id="extend_store_id" maxlength="36" />
</div>
<?php endif; ?>
</div>
Expand All @@ -64,7 +64,7 @@ $showTimeline = $status !== 4 && $status !== 3;
<?php if ($this->getExtendStoreUuid()): ?>
<div>
<label for="extend_store_id">Extend Store ID</label>
<input type="text" value="<?= $this->getExtendStoreUuid() ?>" name="extend_store_id" id="extend_store_id" disabled />
<input type="text" value="<?= $this->getExtendStoreUuid() ?>" name="extend_store_id" id="extend_store_id" maxlength="36" disabled />
</div>
<?php endif; ?>
</div>
Expand All @@ -80,4 +80,4 @@ $showTimeline = $status !== 4 && $status !== 3;
<?php elseif ($status === 4): ?>
<p>Error retrieving the Extend integration for the given store.</p>
<?php endif; ?>
<?php endif; ?>
<?php endif; ?>

0 comments on commit 5350dc6

Please sign in to comment.