From cd509db11e2553b199ca1b30a96f6e0ad883c50e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=81=BE=E3=81=A3=E3=81=A1=E3=82=83=E3=81=A8=E3=83=BC?= =?UTF-8?q?=E3=81=AB=E3=82=85?= <17376330+u1-liquid@users.noreply.github.com> Date: Mon, 7 Aug 2023 04:31:59 +0900 Subject: [PATCH] =?UTF-8?q?enhance(frontend):=202FA=E3=81=AE=E3=83=90?= =?UTF-8?q?=E3=83=83=E3=82=AF=E3=82=A2=E3=83=83=E3=83=97=E3=82=B3=E3=83=BC?= =?UTF-8?q?=E3=83=89=E3=81=AB=E7=95=AA=E5=8F=B7=E3=82=92=E4=BB=98=E3=81=91?= =?UTF-8?q?=E3=81=A6=E8=A4=87=E6=95=B0=E5=80=8B=E3=81=A0=E3=81=A8=E5=88=86?= =?UTF-8?q?=E3=81=8B=E3=82=8A=E3=82=84=E3=81=99=E3=81=8F=E3=81=99=E3=82=8B?= =?UTF-8?q?=20(#135)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/frontend/src/pages/settings/2fa.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/frontend/src/pages/settings/2fa.vue b/packages/frontend/src/pages/settings/2fa.vue index 92da74a2f6..efebc8ae52 100644 --- a/packages/frontend/src/pages/settings/2fa.vue +++ b/packages/frontend/src/pages/settings/2fa.vue @@ -127,7 +127,7 @@ async function registerTOTP() { await os.alert({ type: 'success', - text: i18n.t('_2fa.step4', { codes: backupCodes.join('\n') }), + text: i18n.t('_2fa.step4', { codes: backupCodes.map((code, index) => `${String(index + 1).padStart(2, '0')}. ${code}`).join('\n') }), }); }