Use local_site.default_post_listing_type as the initial default listing type for new users (#3666)

pull/3286/head^2
Sander Saarend 11 months ago committed by GitHub
parent 5cd4c6c586
commit d7051c40f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save