feat(server/email verification): configurable timeout (#5061)

This commit is contained in:
Iain Sproat
2025-07-14 08:56:27 +01:00
committed by GitHub
parent 83079caff6
commit 2bbfb8cede
6 changed files with 27 additions and 3 deletions
@@ -967,6 +967,8 @@ Generate the environment variables for Speckle server and Speckle objects deploy
key: {{ default "email_password" .Values.server.email.password.secretKey }}
- name: EMAIL_FROM
value: "{{ .Values.server.email.from }}"
- name: EMAIL_VERIFICATION_TIMEOUT_MINUTES
value: {{ .Values.server.email.verificationTimeoutMinutes | quote }}
{{- end }}
# *** Newsletter ***
@@ -1282,6 +1282,11 @@
"description": "If enabled, Speckle can send email to users - for example, email verification for account registration.",
"default": false
},
"verificationTimeoutMinutes": {
"type": "number",
"description": "The number of minutes after which an email verification link will expire. Defaults to 5 minutes.",
"default": 5
},
"host": {
"type": "string",
"description": "The domain name or IP address of the server hosting the email service.",
+3
View File
@@ -778,6 +778,9 @@ server:
## @param server.email.enabled If enabled, Speckle can send email to users - for example, email verification for account registration.
##
enabled: false
## @param server.email.verificationTimeoutMinutes The number of minutes after which an email verification link will expire. Defaults to 5 minutes.
##
verificationTimeoutMinutes: 5
## @param server.email.host The domain name or IP address of the server hosting the email service.
##
host: ''