I got a solution which worked for me:
sudo -u www-data php occ app:update --all
(new version of twofactor_totp will be installed)
sudo -u www-data php occ app:enable twofactor_totp
after that I can login with 2FA again.
I got a solution which worked for me:
sudo -u www-data php occ app:update --all
(new version of twofactor_totp will be installed)
sudo -u www-data php occ app:enable twofactor_totp
after that I can login with 2FA again.