diff options
| author | Ellie Huxtable <ellie@elliehuxtable.com> | 2024-01-08 17:47:41 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-01-08 17:47:41 +0000 |
| commit | 7e48768ddf4457f35e098d28ceacd302ea8c529d (patch) | |
| tree | a97e9f8e8bc78d3b2a7a74a317efc5f9573f6dac | |
| parent | chore: schema cleanup (#1522) (diff) | |
| download | atuin-7e48768ddf4457f35e098d28ceacd302ea8c529d.zip | |
feat: make it clear what you are registering for (#1523)
Resolve #1516
| -rw-r--r-- | atuin/src/command/client/account/register.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/atuin/src/command/client/account/register.rs b/atuin/src/command/client/account/register.rs index f8c0eafc..0523dced 100644 --- a/atuin/src/command/client/account/register.rs +++ b/atuin/src/command/client/account/register.rs @@ -29,8 +29,11 @@ pub async fn run( password: &Option<String>, ) -> Result<()> { use super::login::or_user_input; + println!("Registering for an Atuin Sync account"); + let username = or_user_input(username, "username"); let email = or_user_input(email, "email"); + let password = password .clone() .unwrap_or_else(super::login::read_user_password); |
