Skip to content

Commit 715ad1c

Browse files
committed
add images
1 parent 923a427 commit 715ad1c

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

docs/hub/security-two-fa.md

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,10 @@ In Hugging Face Hub:
2828
1. Enter the six-digit pin number from your authentication device into "Code"
2929
2. Save
3030

31-
<!-- screenshot -->
31+
<div class="flex justify-center">
32+
<img class="block dark:hidden" src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/two-fa/settings.png"/>
33+
<img class="hidden dark:block" src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/two-fa/settings-dark.png" />
34+
</div>
3235

3336
If you entered the correct pin, the Hub displays a list of recovery codes. Download them and keep them in a safe place.
3437

@@ -39,7 +42,10 @@ Right after you've successfully activated 2FA with a one-time password, you're r
3942
- Each code can be used only **once** to sign in to your account
4043
- You should copy and print the codes, or use "Download codes" to download them for storage in a safe place. If you choose to download them, the file is called **huggingface-recovery-codes.txt**
4144

42-
<!-- blurred screenshot -->
45+
<div class="flex justify-center">
46+
<img class="block dark:hidden" src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/two-fa/recovery-codes.png"/>
47+
<img class="hidden dark:block" src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/two-fa/recovery-codes-dark.png" />
48+
</div>
4349

4450
If you lose the recovery codes, or want to generate new ones, you can use the [Authentication settings](https://hf.co/settings/authentication) page.
4551

@@ -58,7 +64,10 @@ If you regenerate 2FA recovery codes, save them. You can’t use any previously
5864

5965
When you sign in with 2FA enabled, the process is only slightly different than the standard sign-in procedure. After entering your username and password, you'll encounter an additional prompt, depending on the type of 2FA you've set up. When prompted, provide the pin from your one-time password authenticator's app or a recovery code to complete the sign-in process.
6066

61-
<!-- screenshot -->
67+
<div class="flex justify-center">
68+
<img class="block dark:hidden" src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/two-fa/totp-confirm.png"/>
69+
<img class="hidden dark:block" src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/two-fa/totp-confirm-dark.png" />
70+
</div>
6271

6372
## Disable two-factor authentication
6473

0 commit comments

Comments
 (0)