2FA not being actually enabled
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 37.4k
- Forks
- 3k
- Avg merge
- 1d 3h
- Merged PRs (30d)
- 73
Description
To Reproduce
Go to account profile and click enable 2FA.
Do everything as expected and link the authenticator app and verify with the verification codes.
It gives a success message 2FA enabled but it has not been applied plus the button still is "Enable 2FA"
Current vs. Expected behavior
I expected that in the subsequent logins i will be prompted to enter the verification codes but it just uses password only instead
Provide environment information
Dokploy version 0.30.4
Which area(s) are affected? (Select all that apply)
Cloud Version, Remote server
Are you deploying the applications where Dokploy is installed or on a remote server?
Same server where Dokploy is installed
Additional context
No response
Will you send a PR to fix it?
No
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the account profile's Enable 2FA flow and trace how the verification result is persisted and checked during login. Confirm the flow in Dokploy 0.30.4 or the current version; done means the button reflects the enabled state and subsequent password logins prompt for an authenticator code.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- authentication, security
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100