This article is part of the X-Cart Two-Factor Authentication (2FA) Guide.
If a secondary administrator loses access to their authenticator app (e.g., lost or replaced their smartphone) and does not have their saved backup codes, they will be locked out of the X-Cart Admin area.
In this scenario, a Root Administrator can reset (remove) the existing 2FA configuration for that user, allowing them to regain access and set up 2FA from scratch.
How to reset a user's 2FA
To revoke the 2FA configuration for a specific administrator:
In your X-Cart Admin area, go to Store > Users.
Locate the administrator who is locked out.
Click on the user's email to open their profile details, navigate to the Two-Factor Authentication tab, and click the Remove 2FA button at the bottom of the page.
A confirmation pop-up will appear. Click Remove 2FA to confirm your action.
What happens after the reset?
Once you confirm the removal:
The user's previous secret key and backup codes are permanently invalidated.
The 2FA status for their account changes to Not configured (indicated by a yellow "2FA is not configured for this account" warning block in their profile).
Next login: what happens depends on the Require 2FA for all admins setting.
If Require 2FA for all admins is turned on, after entering their password the user will be presented with the Two-Factor Authentication Required screen. They will be forced to scan a new QR code and save new backup codes to access the Admin area.
If Require 2FA for all admins is turned off, the user will sign in with their password only and will not be asked to set up 2FA again. Their account stays without two-factor protection until they set up 2FA themselves.
Note: To make sure the administrator sets up 2FA again, turn on Require 2FA for all admins before they sign in, or ask them to set up 2FA from their profile right after the reset. For details, see Enforcing two-factor authentication (2FA) for all administrators.
Can't find answers you're looking for?
Email us at support@x-cart.com. We will be happy to help!
Related articles

