From 7d5a82df14160242cdd01a0f1651dab18b41a973 Mon Sep 17 00:00:00 2001 From: Conrad Ludgate Date: Tue, 16 May 2023 22:03:53 +0100 Subject: validate usernames on registration (#982) improve login password incorrect error message update docs for registration with passwords --- docs/docs/commands/sync.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'docs') diff --git a/docs/docs/commands/sync.md b/docs/docs/commands/sync.md index 8fbb0c47..8cd12c54 100644 --- a/docs/docs/commands/sync.md +++ b/docs/docs/commands/sync.md @@ -26,8 +26,11 @@ Register for a sync account with atuin register -u -e -p ``` -Usernames must be unique, and emails shall only be used for important -notifications (security breaches, changes to service, etc). +If you don't want to have your password be included in shell history, you can omit +the password flag and you will be prompted to provide it through stdin. + +Usernames must be unique and only contain alphanumerics or hyphens, +and emails shall only be used for important notifications (security breaches, changes to service, etc). Upon success, you are also logged in :) Syncing should happen automatically from here! @@ -62,6 +65,9 @@ If you want to log in to a new machine, you will require your encryption key atuin login -u -p -k ``` +If you don't want to have your password be included in shell history, you can omit +the password flag and you will be prompted to provide it through stdin. + ## Logout ``` -- cgit v1.3.1