Adding a configurable resend_time in minutes.

This commit is contained in:
elweyn 2021-12-17 11:01:23 +01:00
parent 8c5fff73ef
commit 7f650b9755
2 changed files with 4 additions and 0 deletions

View File

@ -15,6 +15,9 @@ DB_DATABASE=gradido_community
#EMAIL_PASSWORD=
#EMAIL_SMTP_URL=
#EMAIL_SMTP_PORT=587
#RESEND_TIME=1 minute, 60 => 1hour, 1440 (60 minutes * 24 hours) => 24 hours
#RESEND_TIME=
RESEND_TIME=10
#EMAIL_LINK_VERIFICATION=http://localhost/vue/checkEmail/$1

View File

@ -52,6 +52,7 @@ const email = {
EMAIL_LINK_VERIFICATION:
process.env.EMAIL_LINK_VERIFICATION || 'http://localhost/vue/checkEmail/$1',
EMAIL_LINK_SETPASSWORD: process.env.EMAIL_LINK_SETPASSWORD || 'http://localhost/vue/reset/$1',
RESEND_TIME: process.env.RESEND_TIME || 10,
}
const webhook = {