mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-14 08:23:59 +00:00
Use local_site.default_post_listing_type as the initial default listing type for new users (#3666)
This commit is contained in:
parent
5cd4c6c586
commit
d7051c40f8
1 changed files with 1 additions and 0 deletions
|
@ -138,6 +138,7 @@ impl PerformCrud for Register {
|
|||
.password_encrypted(data.password.to_string())
|
||||
.show_nsfw(Some(data.show_nsfw))
|
||||
.accepted_application(accepted_application)
|
||||
.default_listing_type(Some(local_site.default_post_listing_type))
|
||||
.build();
|
||||
|
||||
let inserted_local_user = LocalUser::create(&mut context.pool(), &local_user_form).await?;
|
||||
|
|
Loading…
Reference in a new issue