[GH-ISSUE #836] Remove 2FA TOTP without recovery key but using code #442

Closed
opened 2026-02-26 12:08:22 +03:00 by kerem · 4 comments
Owner

Originally created by @Else00 on GitHub (Jan 30, 2025).
Original GitHub issue: https://github.com/0xJacky/nginx-ui/issues/836

I enabled 2FA for testing and now i want to remove it, but it ask me the recovery code for remove it instead of the TOTP code.

Can i generate this recovery code using the seed?

Image
Originally created by @Else00 on GitHub (Jan 30, 2025). Original GitHub issue: https://github.com/0xJacky/nginx-ui/issues/836 I enabled 2FA for testing and now i want to remove it, but it ask me the recovery code for remove it instead of the TOTP code. Can i generate this recovery code using the seed? <img width="697" alt="Image" src="https://github.com/user-attachments/assets/f91a9b52-9805-4de6-b64b-d918e1894100" />
kerem closed this issue 2026-02-26 12:08:22 +03:00
Author
Owner

@0xJacky commented on GitHub (Jan 30, 2025):

I'm sorry that you can't generate a recovery code with seed.

<!-- gh-comment-id:2624681332 --> @0xJacky commented on GitHub (Jan 30, 2025): I'm sorry that you can't generate a recovery code with seed.
Author
Owner

@Else00 commented on GitHub (Feb 2, 2025):

And so how can i remove the TOTP ?

<!-- gh-comment-id:2629387103 --> @Else00 commented on GitHub (Feb 2, 2025): And so how can i remove the TOTP ?
Author
Owner

@0xJacky commented on GitHub (Feb 2, 2025):

And so how can i remove the TOTP ?

Create an new user and remove the old one.

<!-- gh-comment-id:2629390981 --> @0xJacky commented on GitHub (Feb 2, 2025): > And so how can i remove the TOTP ? Create an new user and remove the old one.
Author
Owner

@Hintay commented on GitHub (Feb 11, 2025):

We have refactored the 2FA system, and now you can use any 2FA (including the new recovery codes) to rebind or remove TOTP. Additionally, you can generate new recovery codes at any time. Please update to version 2.0.0-rc.2 when it is released in the next two days to experience the improved 2FA system. Let us know if you have any questions!

<!-- gh-comment-id:2649868692 --> @Hintay commented on GitHub (Feb 11, 2025): We have refactored the 2FA system, and now you can use any 2FA (including the new recovery codes) to rebind or remove TOTP. Additionally, you can generate new recovery codes at any time. Please update to version 2.0.0-rc.2 when it is released in the next two days to experience the improved 2FA system. Let us know if you have any questions!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/nginx-ui#442
No description provided.