[Feature Request] Allow non-owner users to reset/change their password in self-hosted instances
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 37.4k
- Forks
- 3k
- Avg merge
- 1d 3h
- Merged PRs (30d)
- 73
Description
Currently, non-owner users in a self-hosted Dokploy instance have no way to recover or change their passwords.
The "lost your password?" link redirects to the documentation for the reset-password CLI, but as confirmed in #2709, that script only works for the owner account. There is also no option in the Users panel for an admin to reset a member's password. Right now, the only workaround is manually updating the password hash directly in the Postgres container, which isn't ideal.
I'd like to open a PR for this, but I want to align with the project's vision before writing any code. What approach makes the most sense to you?
- Option A (Admin-only): The admin can set a new or temporary password for the user directly from the Users panel.
- Option B (Self-service recovery): Fix the "lost your password?" flow so it actually works for members (e.g., sending a password reset email if SMTP is configured).
- Option C (Both): Implement both the admin panel reset and the email recovery flow.
Let me know which route you prefer so I can get started!
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 by reviewing the reset-password CLI, the “lost your password?” flow, the Users panel, and the context in issue #2709. First clarify whether the project wants admin reset, self-service email recovery, or both; done means an agreed approach is implemented for non-owner users.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- postgresql, typescript
- Domain
- authentication, backend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100