docs(README, docs): add reset password functionality details and update CLI options across multiple languages

This commit is contained in:
Ivan
2026-05-08 23:45:54 -05:00
parent 9a10a03734
commit aaa253909e
8 changed files with 34 additions and 11 deletions
+1
View File
@@ -104,6 +104,7 @@ The project favors predictable SQL behavior and explicit migration control, whic
- Cookie sessions via encrypted storage
- Auth and access-attempt tracking integrated with IP/User-Agent aware controls
- Debug endpoints provide visibility into logs and access-attempt records
- Password reset via `--reset-password` (or `MESHCHAT_RESET_PASSWORD=true`) clears the stored bcrypt hash so a new password can be set through the web UI
This is also very well tested, but I still would not recommend exposing MeshChatX to the internet.
+16
View File
@@ -225,6 +225,22 @@ journalctl -u meshchatx.service -n 200 --no-pager
systemctl show meshchatx.service -p ExecStart -p User -p Group
```
## Reset Password
If you forget the web UI password and have SSH access to the Pi, reset it with the `--reset-password` flag:
```bash
meshchatx --reset-password --headless --host 0.0.0.0 --port 8000
```
Or set the environment variable:
```bash
MESHCHAT_RESET_PASSWORD=true meshchatx --headless --host 0.0.0.0 --port 8000
```
This clears the stored password hash on startup. Open the web UI and you will see the Initial Setup screen where you can set a new password. After resetting, you can stop the app and restart without the flag.
## Notes
- Reticulum configuration and identity data are stored in the service user's home