summaryrefslogtreecommitdiff
path: root/docs/TUI-GUIDELINES.md
diff options
context:
space:
mode:
authorAnders Betts <anders.betts@gmail.com>2026-09-23 10:08:44 +0200
committerAnders Betts <anders.betts@gmail.com>2026-09-23 10:08:44 +0200
commite06248ef69b33d102a57aaa31fffcde3240dad9c (patch)
treed2b82eb5a5e2918336f89e241efdeed8bed5ca95 /docs/TUI-GUIDELINES.md
parent79b27457125dc2e259783359085021eea1d26e3a (diff)
downloadbokf-87be23e8c290019772ac206f965902a3b4fa35ce.tar.gz
bokf-87be23e8c290019772ac206f965902a3b4fa35ce.zip
user.set_password: change your own password; TUI "Byt lösenord"v0.1.68
Needs the current password (wrong ones rate limited like logins) and a password session, requires at least 10 characters, closes the user's other sessions and is audited without secrets. The TUI main menu gets "Byt lösenord" with masked prompts; ^R keeps working with the new password. Masked prompt buffers are wiped before they are freed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'docs/TUI-GUIDELINES.md')
-rw-r--r--docs/TUI-GUIDELINES.md7
1 files changed, 6 insertions, 1 deletions
diff --git a/docs/TUI-GUIDELINES.md b/docs/TUI-GUIDELINES.md
index 68316e3..28b7f89 100644
--- a/docs/TUI-GUIDELINES.md
+++ b/docs/TUI-GUIDELINES.md
@@ -130,7 +130,12 @@ opens the same picker, with the cursor on the current org, and switches the
session to the chosen one: `session.use_org`, then the org's name, role,
current fiscal year and series are reloaded and the remembered list
selections are cleared; `Esc` keeps the current org. `Ctrl+R` keeps the
-switched org. The fiscal year is chosen from the dashboard and is changeable
+switched org. "Byt lösenord" asks for the current password, the new one
+and the new one again in masked prompts (`Esc` in any of them cancels),
+checks length (≥ 10), match and difference before calling
+`user.set_password`, and reports that the user's other logins were logged
+out and that a Bitwarden item has to be updated; `Ctrl+R` keeps working
+with the new password. The fiscal year is chosen from the dashboard and is changeable
during the session; the `Räkenskapsår` screen also closes and reopens years
there.