I have a user that lost their two-factor authentication QR code and recovery codes and is locked out of Nextcloud.
They are an LDAP user, so their username is shown as a long string of letters and numbers. When I try to generate a one-time code, I enter the long username string this in to: