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:
/index.php/settings/admin/security -->Two-Factor Admin–>Generate
and I get the error message:
Could not generate a code: unknown error
What am I doing wrong?