[Solved] Two Factor Authentication not working

Two factor authentication stopped working. It always gives an invalid token error.
Tried to disable and enable again and while trying to enable I have the same error.
I’m in seafile pro 7.1.7 and using the andOTP app.
I’m not seeing nothing in the logs.
Anyone with the same problem?

works fine on my end using the same env

Please check if your server time is correct. I didn’t face any issues over the last few seafile-server versions

I’m guessing this was the problem. I had timesyncd disabled.
After enabling it I activated OTP in Seafile.

Thanks for the tip. In the meanwhile I hadn’t tried again to fix this.

1 Like