Skip to content

Commit

Permalink
fix: only render pre_configured_consent_duration if configured (#158)
Browse files Browse the repository at this point in the history
  • Loading branch information
james-d-elliott authored Apr 18, 2022
1 parent d526bf2 commit 5da7427
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/authelia/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v2
name: authelia
version: 0.8.23
version: 0.8.24
kubeVersion: ">= 1.13.0-0"
description: Authelia is a Single Sign-On Multi-Factor portal for web apps
type: application
Expand Down
4 changes: 3 additions & 1 deletion charts/authelia/templates/configMap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,9 @@ data:
{{- end }}
{{- if semverCompare ">=4.35.0" (include "authelia.version" $) }}
sector_identifier: {{ $client.sector_identifier | default "" | quote }}
pre_configured_consent_duration: {{ $client.pre_configured_consent_duration | default "" | quote }}
{{ if $client.pre_configured_consent_duration }}
pre_configured_consent_duration: {{ $client.pre_configured_consent_duration | quote }}
{{- end }}
{{- end }}
public: {{ $client.public | default false }}
authorization_policy: {{ default "two_factor" $client.authorization_policy }}
Expand Down

0 comments on commit 5da7427

Please sign in to comment.