This commit is contained in:
syuilo 2020-02-08 13:06:42 +09:00
parent ecf0fe7e66
commit 66e374913c
2 changed files with 0 additions and 2 deletions

View File

@ -364,7 +364,6 @@ inputMessageHere: "ここにメッセージを入力"
close: "閉じる"
_2fa:
totpHeader: "認証アプリ"
alreadyRegistered: "既に設定は完了しています。"
registerDevice: "デバイスを登録"
registerKey: "キーを登録"

View File

@ -4,7 +4,6 @@
<div class="_content">
<p v-if="!data && !$store.state.i.twoFactorEnabled"><mk-button @click="register">{{ $t('_2fa.registerDevice') }}</mk-button></p>
<template v-if="$store.state.i.twoFactorEnabled">
<h2 class="heading">{{ $t('_2fa.totpHeader') }}</h2>
<p>{{ $t('_2fa.alreadyRegistered') }}</p>
<mk-button @click="unregister">{{ $t('unregister') }}</mk-button>