From df0248d99aa5e2cf49a864f4fd746d6cdab3d107 Mon Sep 17 00:00:00 2001 From: projectmoon Date: Sun, 23 May 2021 13:58:58 +0000 Subject: [PATCH] More useful account registration message. --- src/commands/management.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/commands/management.rs b/src/commands/management.rs index 0f1eab9..7e8d31b 100644 --- a/src/commands/management.rs +++ b/src/commands/management.rs @@ -57,7 +57,11 @@ impl Command for RegisterCommand { }; ctx.db.upsert_user(&user).await?; - Execution::success("User account registered/updated".to_string()) + Execution::success(format!( + "User account registered/updated. Please log in to external applications \ + with username {} and the password you set.", + ctx.username + )) } }