Skip to content

A local-first personal finance app

Create reset password doc (#271)

Jason Whitelockf5addccb1ea5
diff --git a/.github/actions/spelling/allow/keywords.txt b/.github/actions/spelling/allow/keywords.txt
index edcc38f9c7..dc29adfa9b 100644
--- a/.github/actions/spelling/allow/keywords.txt
+++ b/.github/actions/spelling/allow/keywords.txt
@@ -32,6 +32,8 @@ jwl
kcab
keyout
Kroger
+kubectl
+kubernetes
ldaplogin
libofx
linting
diff --git a/docs/troubleshooting/reset_password.md b/docs/troubleshooting/reset_password.md
new file mode 100644
index 0000000000..79c048a8ad
--- /dev/null
+++ b/docs/troubleshooting/reset_password.md
@@ -0,0 +1,24 @@
+# Resetting Actual login password
+
+If you have forgotten your actual-server login password - not all is lost, as the password can be reset without loosing any of your files / data.
+
+A password reset feature is available from version 23.4.2.
+
+## Execute directly
+```sh
+npm run reset-password
+```
+
+## From a docker container
+```sh
+docker exec -it <actual_container> /bin/sh
+node /app/src/scripts/reset-password.js
+```
+
+## From a kubernetes instance
+```sh
+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.