Skip to content

Conversation

@itz4blitz
Copy link
Owner

Add ADMIN_PASSWORD_RESET environment variable that allows emergency password reset by setting the flag to "true" and restarting the container.

This clears the setup_completed flag and admin credentials while preserving all other data (logs, issues, settings).

Closes #35

Add ADMIN_PASSWORD_RESET environment variable that allows emergency
password reset by setting the flag to "true" and restarting the container.
This clears the setup_completed flag and admin credentials while preserving
all other data (logs, issues, settings).

Changes:
- Add ADMIN_PASSWORD_RESET env var schema
- Add resetAdminAccount() method to SettingsService
- Check env var on startup and display reset message
- Pass env var through docker-compose.yml
- Document in .env.example and .env.tpl
- Bump version to 0.6.0
@itz4blitz itz4blitz self-assigned this Jan 14, 2026
@itz4blitz itz4blitz merged commit 7757368 into master Jan 14, 2026
4 checks passed
@itz4blitz itz4blitz deleted the feat/admin-password-reset branch January 14, 2026 04:14
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.

Password reset

2 participants