This commit is contained in:
syuilo 2020-02-08 13:06:42 +09:00
parent 44d2c0195a
commit e812d054bc
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>