mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-13 23:20:50 +01:00
enhance(frontend): 2FAのバックアップコードに番号を付けて複数個だと分かりやすくする (#135)
This commit is contained in:
parent
7504cde8f4
commit
cd509db11e
1 changed files with 1 additions and 1 deletions
|
@ -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') }),
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue