feat(server/email verification): configurable timeout (#5061)
This commit is contained in:
@@ -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.",
|
||||
|
||||
@@ -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: ''
|
||||
|
||||
Reference in New Issue
Block a user