aboutsummaryrefslogtreecommitdiffstats
path: root/src/command/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/command/mod.rs')
-rw-r--r--src/command/mod.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/command/mod.rs b/src/command/mod.rs
index 5b03e360..6a79a32f 100644
--- a/src/command/mod.rs
+++ b/src/command/mod.rs
@@ -147,7 +147,9 @@ impl AtuinCmd {
logout::run();
Ok(())
}
- Self::Register(r) => register::run(&client_settings, r.username, r.email, r.password),
+ Self::Register(r) => {
+ register::run(&client_settings, &r.username, &r.email, &r.password)
+ }
Self::Key => {
let key = atuin_client::encryption::load_key(&client_settings)?;
println!("{}", atuin_client::encryption::encode_key(key)?);