feat: 2FAのバックアップコードの実装 (#121)

This commit is contained in:
まっちゃとーにゅ
2023-07-30 03:35:42 +09:00
committed by GitHub
parent 99232ed417
commit 2b941ae648
34 changed files with 91 additions and 32 deletions

View File

@@ -32,7 +32,7 @@
<template #label>{{ i18n.ts.password }}</template>
<template #prefix><i class="ti ti-lock"></i></template>
</MkInput>
<MkInput v-model="token" type="text" pattern="^[0-9]{6}$" autocomplete="one-time-code" :spellcheck="false" required>
<MkInput v-model="token" type="text" pattern="^([0-9]{6}|[A-Z0-9]{32})$" autocomplete="one-time-code" :spellcheck="false" required>
<template #label>{{ i18n.ts.token }}</template>
<template #prefix><i class="ti ti-123"></i></template>
</MkInput>