More useful account registration message.

This commit is contained in:
projectmoon 2021-05-23 13:58:58 +00:00
parent 76214bc790
commit df0248d99a
1 changed files with 5 additions and 1 deletions

View File

@ -57,7 +57,11 @@ impl Command for RegisterCommand {
}; };
ctx.db.upsert_user(&user).await?; 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
))
} }
} }