From eac3ad38d2e059cfe624edf947af848bd4220ca7 Mon Sep 17 00:00:00 2001 From: Michael Barz Date: Thu, 4 May 2023 14:14:44 +0200 Subject: [PATCH] Fix config name for the web logout url --- changelog/unreleased/fix-web-config.md | 5 +++++ services/web/pkg/config/options.go | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 changelog/unreleased/fix-web-config.md diff --git a/changelog/unreleased/fix-web-config.md b/changelog/unreleased/fix-web-config.md new file mode 100644 index 0000000000..1e672944e0 --- /dev/null +++ b/changelog/unreleased/fix-web-config.md @@ -0,0 +1,5 @@ +Bugfix: Fix Logout Url config name + +We fixed the yaml and json name of the logout url option. + +https://github.com/owncloud/ocis/pull/6226 diff --git a/services/web/pkg/config/options.go b/services/web/pkg/config/options.go index 98a27842f0..49d7c02c88 100644 --- a/services/web/pkg/config/options.go +++ b/services/web/pkg/config/options.go @@ -18,7 +18,7 @@ type Options struct { Upload *Upload `json:"upload,omitempty" yaml:"upload"` Editor *Editor `json:"editor,omitempty" yaml:"editor"` ContextHelpersReadMore bool `json:"contextHelpersReadMore,omitempty" yaml:"contextHelpersReadMore" env:"WEB_OPTION_CONTEXTHELPERS_READ_MORE" desc:"Specifies whether the 'Read more' link should be displayed or not."` - LogoutURL string `json:"logoutURL,omitempty" yaml:"logoutURL" env:"WEB_OPTION_LOGOUT_URL" desc:"Adds a link to the user's profile page to point him to an external page, where he can manage his session and devices. This is helpful when an external IdP is used. This option is disabled by default."` + LogoutURL string `json:"logoutUrl,omitempty" yaml:"logoutUrl" env:"WEB_OPTION_LOGOUT_URL" desc:"Adds a link to the user's profile page to point him to an external page, where he can manage his session and devices. This is helpful when an external IdP is used. This option is disabled by default."` } // AccountEditLink are the AccountEditLink options