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') }), }); }