mirror of
https://git.quad4.io/RNS-Things/MeshChatX.git
synced 2026-05-12 13:44:43 +00:00
docs(README, docs): add reset password functionality details and update CLI options across multiple languages
This commit is contained in:
@@ -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.
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user