From 3a216226bcb05811b147e99bc08e935bc88a68ad Mon Sep 17 00:00:00 2001
From: roschaefer
Date: Fri, 5 Jun 2020 14:15:42 +0200
Subject: [PATCH] Paramterize all emails
---
docker-compose.override.yml | 4 ++--
webapp/components/PasswordReset/ChangePassword.vue | 7 +++++--
webapp/components/Registration/CreateUserAccount.vue | 6 +++---
webapp/constants/emails.js | 6 +++---
webapp/maintenance/source/pages/index.vue | 9 +++++----
webapp/pages/code-of-conduct.vue | 6 +++---
webapp/pages/settings/my-email-address/verify.vue | 8 +++++++-
7 files changed, 28 insertions(+), 18 deletions(-)
diff --git a/docker-compose.override.yml b/docker-compose.override.yml
index c58df2292..b3493ce78 100644
--- a/docker-compose.override.yml
+++ b/docker-compose.override.yml
@@ -17,7 +17,7 @@ services:
environment:
- "APPLICATION_NAME={$APPLICATION_NAME:-'Human Connection'}"
- NUXT_BUILD=/tmp/nuxt # avoid file permission issues when `rm -rf .nuxt/`
- - PUBLIC_REGISTRATION=false
+ - PUBLIC_REGISTRATION=true
command: yarn run dev
backend:
image: schoolsinmotion/backend:build-and-test
@@ -33,7 +33,7 @@ services:
- SMTP_PORT=25
- SMTP_IGNORE_TLS=true
- "DEBUG=${DEBUG}"
- - PUBLIC_REGISTRATION=false
+ - PUBLIC_REGISTRATION=true
maintenance:
image: schoolsinmotion/maintenance:latest
build:
diff --git a/webapp/components/PasswordReset/ChangePassword.vue b/webapp/components/PasswordReset/ChangePassword.vue
index 2873505c6..5d1e02acf 100644
--- a/webapp/components/PasswordReset/ChangePassword.vue
+++ b/webapp/components/PasswordReset/ChangePassword.vue
@@ -49,8 +49,9 @@
{{ $t('components.password-reset.change-password.help') }}
-
- support@human-connection.org
+
+
+ {{ supportEmail }}
@@ -60,6 +61,7 @@
diff --git a/webapp/pages/code-of-conduct.vue b/webapp/pages/code-of-conduct.vue
index d7818a956..63ffce06b 100644
--- a/webapp/pages/code-of-conduct.vue
+++ b/webapp/pages/code-of-conduct.vue
@@ -25,9 +25,7 @@
{{ $t('code-of-conduct.get-help') }}
-
- moderation@human-connection.org
-
+ {{ moderationEmail }}
@@ -35,6 +33,7 @@