Remove cc from multi registration email

This commit is contained in:
Wolfgang Huß 2022-06-02 15:56:20 +02:00
parent c7923e3122
commit b6fc752f80
6 changed files with 0 additions and 6 deletions

View File

@ -46,7 +46,6 @@ EMAIL_LINK_SETPASSWORD=http://localhost/reset-password/{optin}
EMAIL_LINK_FORGOTPASSWORD=http://localhost/forgot-password
EMAIL_LINK_OVERVIEW=http://localhost/overview
EMAIL_LINK_SUPPORT=https://gradido.net/de/contact/
EMAIL_EMAIL_SUPPORT=support@gradido.net
EMAIL_CODE_VALID_TIME=1440
EMAIL_CODE_REQUEST_TIME=10

View File

@ -45,7 +45,6 @@ EMAIL_LINK_SETPASSWORD=$EMAIL_LINK_SETPASSWORD
EMAIL_LINK_FORGOTPASSWORD=$EMAIL_LINK_FORGOTPASSWORD
EMAIL_LINK_OVERVIEW=$EMAIL_LINK_OVERVIEW
EMAIL_LINK_SUPPORT=$EMAIL_LINK_SUPPORT
EMAIL_EMAIL_SUPPORT=$EMAIL_EMAIL_SUPPORT
EMAIL_CODE_VALID_TIME=$EMAIL_CODE_VALID_TIME
EMAIL_CODE_REQUEST_TIME=$EMAIL_CODE_REQUEST_TIME

View File

@ -78,7 +78,6 @@ const email = {
process.env.EMAIL_LINK_FORGOTPASSWORD || 'http://localhost/forgot-password',
EMAIL_LINK_OVERVIEW: process.env.EMAIL_LINK_OVERVIEW || 'http://localhost/overview',
EMAIL_LINK_SUPPORT: process.env.EMAIL_LINK_SUPPORT || 'https://gradido.net/de/contact/',
EMAIL_EMAIL_SUPPORT: process.env.EMAIL_EMAIL_SUPPORT || 'support@gradido.net',
// time in minutes a optin code is valid
EMAIL_CODE_VALID_TIME: process.env.EMAIL_CODE_VALID_TIME
? parseInt(process.env.EMAIL_CODE_VALID_TIME) || 1440

View File

@ -20,7 +20,6 @@ describe('sendAccountMultiRegistrationEmail', () => {
it('calls sendEMail', () => {
expect(sendEMail).toBeCalledWith({
to: `Peter Lustig <peter@lustig.de>`,
cc: 'support@gradido.net',
subject: 'Gradido: Erneuter Registrierungsversuch mit deiner E-Mail',
text:
expect.stringContaining('Hallo Peter Lustig') &&

View File

@ -9,7 +9,6 @@ export const sendAccountMultiRegistrationEmail = (data: {
}): Promise<boolean> => {
return sendEMail({
to: `${data.firstName} ${data.lastName} <${data.email}>`,
cc: CONFIG.EMAIL_EMAIL_SUPPORT,
subject: accountMultiRegistration.de.subject,
text: accountMultiRegistration.de.text({
...data,

View File

@ -48,7 +48,6 @@ EMAIL_LINK_SETPASSWORD=https://stage1.gradido.net/reset-password/{optin}
EMAIL_LINK_FORGOTPASSWORD=https://stage1.gradido.net/forgot-password
EMAIL_LINK_OVERVIEW=https://stage1.gradido.net/overview
EMAIL_LINK_SUPPORT=https://gradido.net/de/contact/
EMAIL_EMAIL_SUPPORT=support@gradido.net
EMAIL_CODE_VALID_TIME=1440
EMAIL_CODE_REQUEST_TIME=10