mirror of
https://github.com/owntone/owntone-server.git
synced 2024-12-27 15:45:56 -05:00
[web] Enforce 4-digit pins
This commit is contained in:
parent
11616f5d32
commit
7142e87cf2
@ -19,6 +19,7 @@
|
|||||||
v-model="pairing_req.pin"
|
v-model="pairing_req.pin"
|
||||||
class="input"
|
class="input"
|
||||||
type="text"
|
type="text"
|
||||||
|
pattern="[\d]{4}"
|
||||||
:placeholder="$t('dialog.remote-pairing.pairing-code')"
|
:placeholder="$t('dialog.remote-pairing.pairing-code')"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
@ -19,6 +19,7 @@
|
|||||||
v-model="pairing_req.pin"
|
v-model="pairing_req.pin"
|
||||||
class="input"
|
class="input"
|
||||||
type="text"
|
type="text"
|
||||||
|
pattern="[\d]{4}"
|
||||||
:placeholder="$t('page.settings.devices.pairing-code')"
|
:placeholder="$t('page.settings.devices.pairing-code')"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
@ -74,6 +75,7 @@
|
|||||||
v-model="verification_req.pin"
|
v-model="verification_req.pin"
|
||||||
class="input"
|
class="input"
|
||||||
type="text"
|
type="text"
|
||||||
|
pattern="[\d]{4}"
|
||||||
:placeholder="$t('page.settings.devices.verification-code')"
|
:placeholder="$t('page.settings.devices.verification-code')"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user