Can't login if two factor authentication is enabled

Hi, thanks for your response.
I found the error :grinning:.
My Reverse Proxy is a Apache2 Webserver, with PHP-FPM. The option ProxyErrorOverride on was enabled for the vHost of the password manager and caused this issue.
So it was an problem with the reverse proxy.
Thanks for helping.