@@ -11,9 +11,10 @@ type Templates struct {
1111 // If either file is missing, the default will be used instead.
1212 Path string `flag:"custom-templates-dir" cfg:"custom_templates_dir"`
1313
14− // CustomLogo is the path to a logo that should replace the default logo
14+ // CustomLogo is the path or a URL to a logo that should replace the default logo
1515 // on the sign_in page template.
1616 // Supported formats are .svg, .png, .jpg and .jpeg.
17+ // If URL is used the format support depends on the browser.
1718 // To disable the default logo, set this value to "-".
1819 CustomLogo string `flag:"custom-sign-in-logo" cfg:"custom_sign_in_logo"`
1920
@@ -40,7 +41,7 @@ func templatesFlagSet() *pflag.FlagSet {
4041 flagSet := pflag.NewFlagSet("templates", pflag.ExitOnError)
4142
4243 flagSet.String("custom-templates-dir", "", "path to custom html templates")
43− flagSet.String("custom-sign-in-logo", "", "path to an custom image for the sign_in page logo. Use \"-\" to disable default logo.")
44+ flagSet.String("custom-sign-in-logo", "", "path or URL to an custom image for the sign_in page logo. Use \"-\" to disable default logo.")
4445 flagSet.String("banner", "", "custom banner string. Use \"-\" to disable default banner.")
4546 flagSet.String("footer", "", "custom footer string. Use \"-\" to disable default footer.")
4647 flagSet.Bool("display-htpasswd-form", true, "display username / password login form if an htpasswd file is provided")