chore: Move registration notice logic

This commit is contained in:
timedout committed 2026-07-27 16:46:36 +01:00
1 parent 7fdc7f9216
commit 399005abc6
5 files changed
+39 -33

No files matched your search

+7 -1
View File
@@ -59,7 +59,13 @@ impl crate::Context<'_> {
self.services
.users
.create_local_account(&user_id, Some(HashedPassword::new(password)?), None)
.create_local_account(
&user_id,
Some(HashedPassword::new(password)?),
None,
None,
None,
)
.await?;
self.write_str(&format!("Created user {user_id} with password `{password}`"))