[web] Enforce 4-digit pins

This commit is contained in:
Alain Nussbaumer 2023-11-23 20:38:16 +01:00
parent 11616f5d32
commit 7142e87cf2
2 changed files with 3 additions and 0 deletions

View File

@ -19,6 +19,7 @@
v-model="pairing_req.pin"
class="input"
type="text"
pattern="[\d]{4}"
:placeholder="$t('dialog.remote-pairing.pairing-code')"
/>
</div>

View File

@ -19,6 +19,7 @@
v-model="pairing_req.pin"
class="input"
type="text"
pattern="[\d]{4}"
:placeholder="$t('page.settings.devices.pairing-code')"
/>
</div>
@ -74,6 +75,7 @@
v-model="verification_req.pin"
class="input"
type="text"
pattern="[\d]{4}"
:placeholder="$t('page.settings.devices.verification-code')"
/>
</div>