Steps to fix two factor auth setup error
Steps_to_fix_two_factor_auth_setup_error
Problem:
Unable to configure two factor auth for the user and getting following error while entering 6 digit code during setup.
"Error! Enter code again to confirm setup"
Solution:
We need to increase time windows offset limit for two factor authentication.
su - zimbra zmprov mcf zimbraTwoFactorTimeWindowOffset 15 zmprov fc -a all
Note: If you still get same error with 15 then increase offset upto 30. 30 is maximum limit.