> For the complete documentation index, see [llms.txt](https://docs.infotopics.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.infotopics.com/mailscheduler/configuration/two-factor-authentication.md).

# Two-factor authentication

For extra security, it is also possible to enable two-factor authentication for password-based users.

<figure><img src="https://content.gitbook.com/content/4Fmvueq9O7VFJ2YCQcNN/blobs/F6Yf4KVVlXSVgNXH7AAn/image.png" alt=""><figcaption></figcaption></figure>

If desired, you can also force all password-based users to log in with two-factor authentication. The first time they log in, they will be redirected to the screen to set up 2FA, and can't access anything in the app until they set it up.

### Setting up Two-factor authentication for the first time

<figure><img src="https://content.gitbook.com/content/4Fmvueq9O7VFJ2YCQcNN/blobs/xEqziIWYztjt17wEEyEH/image.png" alt=""><figcaption></figcaption></figure>

After entering your password, you will be presented with the following screen:

<figure><img src="https://content.gitbook.com/content/4Fmvueq9O7VFJ2YCQcNN/blobs/ifnwXY0YTOSI7x8YbANn/image.png" alt=""><figcaption></figcaption></figure>

Scan the QR code with your chose of authenticator app (Google authenticator, Microsoft authenticator, etc...), and then press 'Continue to Verification'.&#x20;

<figure><img src="https://content.gitbook.com/content/4Fmvueq9O7VFJ2YCQcNN/blobs/9DnsUaO6vkHheaKZ42n1/image.png" alt=""><figcaption></figcaption></figure>

Once you have entered the verification code and pressed 'Verify and Enable 2FA', you will be prompted for your code every time you log on.


---

# 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.infotopics.com/mailscheduler/configuration/two-factor-authentication.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.
