dont set default user languages in api code (already done in db)
This commit is contained in:
parent
095591ef69
commit
3295784ebb
1 changed files with 0 additions and 7 deletions
|
@ -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 {
|
if require_application {
|
||||||
// Create the registration application
|
// Create the registration application
|
||||||
let form = RegistrationApplicationForm {
|
let form = RegistrationApplicationForm {
|
||||||
|
|
Loading…
Reference in a new issue