feat: add logged out url config

This commit is contained in:
Paul Neubauer
2023-06-19 10:50:00 +02:00
parent 7a2afee440
commit 27b7337e4c
2 changed files with 4 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
Enhancement: Add logged out url config
Introduce a config to set the more button url on the access denied page in web via `WEB_OPTION_LOGGED_OUT_HELP`.

View File

@@ -22,6 +22,7 @@ type Options struct {
OpenLinksWithDefaultApp bool `json:"openLinksWithDefaultApp,omitempty" yaml:"openLinksWithDefaultApp" env:"WEB_OPTION_OPEN_LINKS_WITH_DEFAULT_APP" desc:"Specifies whether single file link shares should be opened with the default app or not. If not opened by the default app, the Web UI just displays the file details. Defaults to 'true'."`
ImprintURL string `json:"imprintUrl,omitempty" yaml:"imprintUrl" env:"WEB_OPTION_IMPRINT_URL" desc:"Specifies the target url for the imprint link in the account menu"`
PrivacyURL string `json:"privacyUrl,omitempty" yaml:"privacyUrl" env:"WEB_OPTION_PRIVACY_URL" desc:"Specifies the target url for the privacy link in the account menu"`
LoggedOutHelpURL string `json:"loggedOutHelpUrl,omitempty" yaml:"loggedOutHelpUrl" env:"WEB_OPTION_LOGGED_OUT_HELP" desc:"Specifies the target url for the generic logged out / access denied page"`
}
// AccountEditLink are the AccountEditLink options