Skip to content

Commit 2508507

Browse files
authored
remove min length from api and device fields (#198)
1 parent cf682bd commit 2508507

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/lib/devices/CreateDevice.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
<form class="flex flex-wrap" bind:this={newDeviceForm} on:submit|preventDefault={newDeviceAction}>
6060
<div class="flex-none mr-4">
6161
<label class="block text-secondary text-sm font-bold mb-2" for="text">Device Key</label>
62-
<input bind:value={newDeviceKey} minlength="54" class="card-input" type="text" required placeholder="******************" />
62+
<input bind:value={newDeviceKey} class="card-input" type="text" required placeholder="******************" />
6363
</div>
6464
<div class="flex-none">
6565
<label class="block text-secondary text-sm font-bold mb-2" for="select">Select User</label>

src/lib/settings/ServerSettings.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
{/if}
4848
</label>
4949
<div class="flex relative">
50-
<input bind:value={$APIKeyStore} {...{ type: apiKeyInputState }} minlength="54" maxlength="54" class="form-input" disabled='{apiStatus == 'succeeded'}' required placeholder="******************" />
50+
<input bind:value={$APIKeyStore} {...{ type: apiKeyInputState }} class="form-input" disabled='{apiStatus == 'succeeded'}' required placeholder="******************" />
5151
<button
5252
type="button"
5353
class="absolute right-40"

0 commit comments

Comments
 (0)