diff --git a/webapp/layouts/default.vue b/webapp/layouts/default.vue index 6ee489367..0b682f3d5 100644 --- a/webapp/layouts/default.vue +++ b/webapp/layouts/default.vue @@ -108,7 +108,7 @@ export default { return { mobileSearchVisible: false, toggleMobileMenu: false, - inviteRegistration: this.$env.INVITE_REGISTRATION, + inviteRegistration: this.$env.INVITE_REGISTRATION === true, // for 'false' in .env INVITE_REGISTRATION is of type undefined and not(!) boolean false, because of internal handling, } }, computed: {