2段階認証コードの入力フォームタイプの訂正 (#4869)

Fix #4849, Resolve #4848
This commit is contained in:
Satsuki Yanagi 2019-05-07 08:45:29 +09:00 committed by syuilo
parent 29430a27d4
commit 8dfb1f69d9

View file

@ -10,7 +10,7 @@
<span>{{ $t('password') }}</span>
<template #prefix><fa icon="lock"/></template>
</ui-input>
<ui-input v-if="user && user.twoFactorEnabled" v-model="token" type="number" required>
<ui-input v-if="user && user.twoFactorEnabled" v-model="token" type="text" pattern="^[0-9]{6}$" autocomplete="off" spellcheck="false" required>
<span>{{ $t('@.2fa') }}</span>
<template #prefix><fa icon="gavel"/></template>
</ui-input>