> For the complete documentation index, see [llms.txt](https://docs.guestway.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.guestway.io/account-and-administration/holding-settings/how-to-reset-two-factor-authentication-for-a-user.md).

# How to reset two-factor authentication for a user

This guide shows you how to reset the two-factor authentication of a user who lost their phone, so they can log in again and set it up again.

{% hint style="info" %}
**Before you start**

* You are an owner of the holding. See [Holding settings](https://docs.guestway.io/account-and-administration/holding-settings.md#owners).
* If your holding requires two-factor authentication for some roles, your own two-factor authentication is on.
* The user turned on two-factor authentication.
* The user is a member only of organizations of your holding.
  {% endhint %}

## Who can reset two-factor authentication

Each organization in Guestway belongs to a holding, the parent account above your organizations. Only an owner of the holding can reset the two-factor authentication of a user. An organization admin cannot, and users cannot turn off their own two-factor authentication.

| Requirement                                      | What it means                                                                                                                                                                                                                                                                                                                          |
| ------------------------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **You are a holding owner**                      | The reset is in the holding settings. Only holding owners see the holding settings.                                                                                                                                                                                                                                                    |
| **Your own two-factor authentication is on**     | When your holding requires two-factor authentication for one or more roles, all holding owners must set it up too. Without it, you cannot open the holding settings. See [How to require two-factor authentication](https://docs.guestway.io/account-and-administration/holding-settings/how-to-require-two-factor-authentication.md). |
| **The user is only in your holding**             | The user is a member of one or more organizations of your holding, and of no organization outside it. An account that is also in an organization of another holding cannot be managed under the security rules of your holding, so you cannot reset it.                                                                                |
| **The user turned on two-factor authentication** | There is nothing to reset when the user never turned it on. Managed accounts have no two-factor authentication.                                                                                                                                                                                                                        |

{% hint style="warning" %}
After a reset, the password alone is enough to log in to the account until the user sets up two-factor authentication again. Make sure that the request comes from the user before you reset.
{% endhint %}

## Reset the two-factor authentication

{% stepper %}
{% step %}

### Open all users of the holding

Go to **Settings** → **Holding** → **All users**, and open the **Platform users** tab. The **2FA** column shows which users turned on two-factor authentication.
{% endstep %}

{% step %}

### Reset it from the list

On the row of the user, click the **Reset 2FA** icon. In *Are you sure you want to reset 2FA for this user?*, click **Confirm**.

You can also click the user to open their page, click **Reset 2FA**, and click **Reset 2FA** again in *Reset 2FA for* followed by the user's name.
{% endstep %}

{% step %}

### Check the result

You see *2FA reset*. The user can now log in with their email and password.
{% endstep %}
{% endstepper %}

## After the reset

Tell the user that their two-factor authentication is reset.

* If your holding requires two-factor authentication for the role of the user, Guestway asks the user to set it up again right after their next login.
* If it does not, the user can turn it on again from their profile.

See [How to turn on two-factor authentication](https://docs.guestway.io/account-and-administration/your-profile/how-to-turn-on-two-factor-authentication.md).

## Troubleshooting

<details>

<summary>Why can't I click Reset 2FA?</summary>

Point at the button to see the reason.

* *Cannot reset 2FA because it hasn't been enabled yet.* The user has no two-factor authentication to reset. This is also the case for managed accounts.
* *Cannot reset 2FA for this user. The account of this user isn't exclusively part of your holding…* The user is also a member of an organization outside your holding. Email **<support@guestway.io>** and ask Guestway support to reset it.

</details>

<details>

<summary>Why don't I see Holding in the settings?</summary>

You are not an owner of the holding. Ask a holding owner of your company to reset the two-factor authentication of the user.

</details>

<details>

<summary>Can users reset their own two-factor authentication?</summary>

No. Users cannot turn off their own two-factor authentication, and Guestway has no recovery codes. A user who lost their phone asks a holding owner.

</details>

## Related

* [Holding settings](https://docs.guestway.io/account-and-administration/holding-settings.md): the **All users** page and the holding owners.
* [How to require two-factor authentication](https://docs.guestway.io/account-and-administration/holding-settings/how-to-require-two-factor-authentication.md)
* [How to turn on two-factor authentication](https://docs.guestway.io/account-and-administration/your-profile/how-to-turn-on-two-factor-authentication.md)
* [Your profile](https://docs.guestway.io/account-and-administration/your-profile.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.guestway.io/account-and-administration/holding-settings/how-to-reset-two-factor-authentication-for-a-user.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
