diff --git a/webapp/pages/registration.vue b/webapp/pages/registration.vue index 3502f65b5..788e0a1f4 100644 --- a/webapp/pages/registration.vue +++ b/webapp/pages/registration.vue @@ -25,8 +25,8 @@ export default { nonce, }, }, - publicRegistration: this.$env.PUBLIC_REGISTRATION === 'true', // for 'false' in .env PUBLIC_REGISTRATION is of type undefined and not(!) boolean false, because of internal handling - inviteRegistration: this.$env.INVITE_REGISTRATION === 'true', // for 'false' in .env INVITE_REGISTRATION is of type undefined and not(!) boolean false, because of internal handling + publicRegistration: this.$env.PUBLIC_REGISTRATION === true, // for 'false' in .env PUBLIC_REGISTRATION is of type undefined and not(!) boolean false, because of internal handling + inviteRegistration: this.$env.INVITE_REGISTRATION === true, // for 'false' in .env INVITE_REGISTRATION is of type undefined and not(!) boolean false, because of internal handling } }, asyncData({ store, redirect }) {