Skip to content

feat: 2fa backup codes - #1

Open
linxia0415 wants to merge 20 commits into
mainfrom
pr-10600
Open

feat: 2fa backup codes#1
linxia0415 wants to merge 20 commits into
mainfrom
pr-10600

Conversation

@linxia0415

Copy link
Copy Markdown

What does this PR do?

  • generate and display backup codes during 2fa setup
  • enable their use during 2fa login flow
  • fix 2fa setup test to include new backup code screen
backup-codes-setup.webm
backup-codes-login.webm

Fixes #9910
/claim #9910

Type of change

  • New feature (non-breaking change which adds functionality)

How should this be tested?

  1. Setup 2fa to see the generated backup codes
  2. Try to login with them by clicking on "Lost access"

Mandatory Tasks

  • Make sure you have self-reviewed the code. A decent size PR without self-review might be rejected.

Checklist

  • I haven't added tests that prove my fix is effective or that my feature works

@code-hawk-sit

code-hawk-sit Bot commented Apr 7, 2026

Copy link
Copy Markdown

🔍 收到PR分析请求

✅ 您的PR已收到,正在进行代码安全分析...

⏳ 请耐心等待,分析完成后会自动回复详细报告。


分析任务ID: PR-TASK-GITHUb_PUBLIC-6fc7fbd0-3222-11f1-9efe-8e1d30202907

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants