fix(helmfile): Provide toggle in functional.yaml.gotmpl for "new device notification" mails

This commit is contained in:
Thorsten Roßner
2025-02-06 17:17:37 +01:00
parent 9367163c27
commit 30254c6031
2 changed files with 5 additions and 0 deletions

View File

@@ -538,6 +538,7 @@ nubusKeycloakExtensions:
password: "umcKeycloakExtensionsSmtpPassword"
handler:
appConfig:
newDeviceLoginNotificationEnable: {{ if .Values.functional.authentication.newDeviceLoginNotification.enabled }}"True"{{ else }}"False"{{ end }}
logLevel: {{ if .Values.debug.enabled }}"DEBUG"{{ else }}"WARN"{{ end }}
newDeviceLoginSubject: "New device login on your {{ .Values.theme.texts.productName }} account"
mailFrom: "{{ .Values.smtp.localpartNoReply }}@{{ .Values.global.domain }}"

View File

@@ -10,6 +10,10 @@ functional:
enabled: true
authentication:
newDeviceLoginNotification:
# openDesk's Keycloak extensions can send out an email every time a user logs in with a new "device".
# It uses device/browser fingerprinting to identify such an event. The feature can be toggled below.
enabled: true
twoFactor:
# Define a list of groups to enable 2FA for.
# Note: Removing a group from the list will not disable 2FA for the removed group.