mirror of
https://github.com/owntone/owntone-server.git
synced 2025-11-07 21:03:00 -05:00
[web] Enforce 4-digit pins
This commit is contained in:
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user