Fix numbering of recovery codes when downloading or copying them

Closes #33933

Signed-off-by: NoseSnatcher <nosesnatcher@ffrwnd.me>
This commit is contained in:
NoseSnatcher 2024-10-16 19:48:18 +02:00 committed by Alexander Schwartz
parent 41ee68611f
commit da34571769

View file

@ -110,7 +110,7 @@
for (let i = 0; i < recoveryCodes.length; i++) {
const recoveryCodeLiElement = recoveryCodes[i].innerText;
<#noparse>
recoveryCodeList += `${i}: ${recoveryCodeLiElement}\r\n`;
recoveryCodeList += `${i+1}: ${recoveryCodeLiElement}\r\n`;
</#noparse>
}