mirror of
https://forgejo.ellis.link/continuwuation/continuwuity/
synced 2026-09-17 01:44:27 +00:00
refactor: Split the users service into several modules
Also resolvers several lints, including needless async on create_user
This commit is contained in:
@@ -134,7 +134,7 @@ pub(crate) async fn register_route(
|
||||
};
|
||||
|
||||
// Create user
|
||||
services.users.create(&user_id, password).await?;
|
||||
services.users.create(&user_id, password)?;
|
||||
|
||||
// Set an initial display name
|
||||
let mut displayname = user_id.localpart().to_owned();
|
||||
|
||||
Reference in New Issue
Block a user