diff --git a/backend/src/models/User.js b/backend/src/models/User.js index 55dc95609..3096e4b54 100644 --- a/backend/src/models/User.js +++ b/backend/src/models/User.js @@ -108,7 +108,7 @@ module.exports = { allowEmbedIframes: { type: 'boolean', default: false, - }, + }, language: { type: 'string', allow: [null], diff --git a/webapp/components/Registration/CreateUserAccount.vue b/webapp/components/Registration/CreateUserAccount.vue index 745278fa3..c17302343 100644 --- a/webapp/components/Registration/CreateUserAccount.vue +++ b/webapp/components/Registration/CreateUserAccount.vue @@ -158,7 +158,15 @@ export default { try { await this.$apollo.mutate({ mutation: SignupVerificationMutation, - variables: { name, password, about, email, nonce, termsAndConditionsAgreedVersion, language }, + variables: { + name, + password, + about, + email, + nonce, + termsAndConditionsAgreedVersion, + language, + }, }) this.response = 'success' setTimeout(() => {