Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion docs/2/common-problems.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,13 @@ This is so common there is a [specific page](/docs/1/return_to) for this problem

## Login verification recovery {#otp}

If login verification is enabled and you have lost the device that generates the verification code, you can recover your account using the following steps.
If login verification is enabled and you have lost the device that generates the verification code, you can recover your account either by using recovery codes (if you have saved them) or by manually editing the user file.

### Recovery by recovery codes

See the [Login verification section](/docs/2/login-verification#recovery-codes) for instructions on how to use recovery codes.

### Recovery by editing the user file

1. You will need to edit your user file stored on the server. Open the identity file and add the `otp` section as follows:

Expand Down
16 changes: 14 additions & 2 deletions docs/2/login-verification.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ For WebAuthn-based authentication, you will need a physical security key such as
3. From the **My Profile** page, go to the **Login Verification** box, then click **Enable**.
4. Enter the key shown on the page into your device. If your device supports scanning QR codes, you can also scan the QR code shown.
5. Enter the 6 digit verification code shown on your device and click **Verify**.
6. If shown, save the [recovery codes](#recovery-codes) in a same place.

Login verification is then enabled. Every time you attempt to log in using this account, you will be prompted to enter the 6 digit verification code shown on your device.

Expand All @@ -57,6 +58,7 @@ Login verification is then enabled. Every time you attempt to log in using this
3. From the **My Profile** page, go to the **Passkeys and security keys** box, then click **Add**.
4. Enter a user-friendly name for the key, then click **Add security key**.
5. Follow the instructions on your device and insert your security key.
6. If shown, save the [recovery codes](#recovery-codes) in a same place.

Login verification is then enabled. Every time you attempt to log in using this account, you will be prompted to insert the security key (and enter a PIN if required).

Expand All @@ -65,6 +67,16 @@ Login verification is then enabled. Every time you attempt to log in using this
1. [Log in to SimpleID](/docs/2/login)
2. From the **My Profile** page, go to the **Login Verification** box, then click **Disable**.

## How to recover
## Recovery codes {#recovery-codes}

If login verification is enabled and you have lost the device that generates the verification code, you can [recover your account](/docs/2/common-problems#otp).
If you are enabling login verification for the first time, a list of recovery codes will be shown at the conclusion of that process. These recovery codes can be used to recover your account if you have lost the device that generates the verification code.

Make sure you copy and save the recovery codes in a safe place. They are only shown once.

To use a recovery code:

1. When prompted to enter a verification code, click **Use a recovery code**.
2. Enter one of the recovery codes you have saved, and click **Verify**.
3. If successful, you will be logged in normally. Once a recovery code has been used it cannot be used again.

If you have lost your recovery codes or have used all of them up, you can regenerate the recovery codes by going to the **Dashboard**, then the **Recovery codes** box, then click **Reset**.