dont set default user languages in api code (already done in db)

increase_search_rate_limit
Felix Ableitner 2022-08-30 22:36:01 +02:00 committed by Dessalines
parent 095591ef69
commit 3295784ebb
1 changed files with 0 additions and 7 deletions

View File

@ -168,13 +168,6 @@ impl PerformCrud for Register {
}
};
// Update the users languages to all by default
let local_user_id = inserted_local_user.id;
blocking(context.pool(), move |conn| {
LocalUserLanguage::update_user_languages(conn, None, local_user_id)
})
.await??;
if require_application {
// Create the registration application
let form = RegistrationApplicationForm {