How to disable 2FA for a certain staff user

If you want to disable second factor authentication for any user you need to go to your Fleio install on “/staff/clients-users/users” page and use the Disable second factor authentication button from the user card actions. Only a staff user with superuser rights is allowed to disable 2FA for a staff user.

If you lost the 2FA configuration for the last superuser, you may temporarily create another one using the fleio django createsuperuser, login with the new superuser and then do the above steps.