summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSatsuki Yanagi <17376330+u1-liquid@users.noreply.github.com>2019-05-07 08:45:29 +0900
committersyuilo <Syuilotan@yahoo.co.jp>2019-05-07 08:45:29 +0900
commit4cd451c6133f424f5bbc42639db2464191874100 (patch)
tree433c3946fb514ac8517c6fde13e89c49ee2f3240 /src
parentFix bug (diff)
downloadsharkey-4cd451c6133f424f5bbc42639db2464191874100.tar.gz
sharkey-4cd451c6133f424f5bbc42639db2464191874100.tar.bz2
sharkey-4cd451c6133f424f5bbc42639db2464191874100.zip
2段階認証コードの入力フォームタイプの訂正 (#4869)
Fix #4849, Resolve #4848
Diffstat (limited to 'src')
-rw-r--r--src/client/app/common/views/components/signin.vue2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/app/common/views/components/signin.vue b/src/client/app/common/views/components/signin.vue
index 671158a113..03ee51d06e 100644
--- a/src/client/app/common/views/components/signin.vue
+++ b/src/client/app/common/views/components/signin.vue
@@ -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>