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 187792dfc4
commit 4cd451c613
1 changed files with 1 additions and 1 deletions

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>