Skip to content

A local-first personal finance app

[AI] docs: update reset-password instructions (#7950)

narutamaaurum4bae4f22e702
diff --git a/packages/docs/docs/troubleshooting/reset_password.md b/packages/docs/docs/troubleshooting/reset_password.md
index ff7d8106c1..5de18d00f9 100644
--- a/packages/docs/docs/troubleshooting/reset_password.md
+++ b/packages/docs/docs/troubleshooting/reset_password.md
@@ -4,12 +4,28 @@ If you have forgotten your actual-server login password - not all is lost, as th
A password reset feature is available from version 23.4.2.
-## Execute Directly
+## If `actual-server` is installed on the host
+
+The deployed server environment may not have Yarn available, so the existing npm script
+is still the simplest reset path there:
```sh
npm run reset-password
```
+The newer `actual-server` CLI command does the same reset with a friendlier prompt:
+
+```sh
+actual-server --reset-password
+```
+
+If you are running the sync server from a source checkout instead of the deployed server,
+run the workspace script from the repository root:
+
+```sh
+yarn workspace @actual-app/sync-server reset-password
+```
+
## From a Docker Container
```sh
@@ -24,4 +40,5 @@ kubectl exec --stdin --tty <actual_pod_name> -- /bin/sh
node /app/src/scripts/reset-password.js
```
-The script will prompt through requesting a new password and confirming it. Once set - you can login with the new password.
+Both commands will prompt for a new password and ask you to confirm it. Once the reset
+completes, you can sign in with the new password.