Two Form Authentication not working

Hello,

 

When I try to login to teamviewer via the windows desktop application the box pops up to enter the 2FA code, you put the code in, click OK, nothing happens. after 2-3 retries it just takes you back to the credentials window. 

I can however login via the website, the 2FA works fine through the website. 

Please advice how to get it to work directly on the windows 10 desktop app.

Thanks.