diff --git a/webapp/components/InviteButton/InviteButton.vue b/webapp/components/InviteButton/InviteButton.vue
new file mode 100644
index 000000000..57c60c8e4
--- /dev/null
+++ b/webapp/components/InviteButton/InviteButton.vue
@@ -0,0 +1,17 @@
+
+
+
+
+
diff --git a/webapp/config/index.js b/webapp/config/index.js
index fd564f350..678239729 100644
--- a/webapp/config/index.js
+++ b/webapp/config/index.js
@@ -29,6 +29,8 @@ const sentry = {
const options = {
VERSION: process.env.VERSION || pkg.version,
DESCRIPTION: process.env.DESCRIPTION || pkg.description,
+ PUBLIC_REGISTRATION: process.env.PUBLIC_REGISTRATION === 'true',
+ INVITE_REGISTRATION: process.env.INVITE_REGISTRATION === 'true',
// Cookies
COOKIE_EXPIRE_TIME: process.env.COOKIE_EXPIRE_TIME || 730, // Two years by default
COOKIE_HTTPS_ONLY: process.env.COOKIE_HTTPS_ONLY || process.env.NODE_ENV === 'production', // ensure true in production if not set explicitly
diff --git a/webapp/layouts/default.vue b/webapp/layouts/default.vue
index 0bf98967e..e666d5e44 100644
--- a/webapp/layouts/default.vue
+++ b/webapp/layouts/default.vue
@@ -40,9 +40,9 @@
@@ -50,6 +50,10 @@
+ XXX {{ showInviteButton }}
+
+
+
@@ -74,96 +78,106 @@