mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-11-10 15:44:15 -08:00
Added maxlengh to token verify input
This commit is contained in:
parent
463c385cf1
commit
d823493fad
|
@ -30,7 +30,7 @@
|
|||
<div v-if="uri && twoFAStatus == false" class="mt-3">
|
||||
<label for="basic-url" class="form-label">{{ $t("twoFAVerifyLabel") }}</label>
|
||||
<div class="input-group">
|
||||
<input v-model="token" type="text" class="form-control">
|
||||
<input v-model="token" type="text" maxlength="6" class="form-control">
|
||||
<button class="btn btn-outline-primary" type="button" @click="verifyToken()">{{ $t("Verify Token") }}</button>
|
||||
</div>
|
||||
<p v-show="tokenValid" class="mt-2" style="color: green">{{ $t("tokenValidSettingsMsg") }}</p>
|
||||
|
|
Loading…
Reference in a new issue