diff --git a/templates/webclient/sharelogin.html b/templates/webclient/sharelogin.html index eb9436b3..5a2e99c1 100644 --- a/templates/webclient/sharelogin.html +++ b/templates/webclient/sharelogin.html @@ -60,7 +60,7 @@ explicit grant from the SFTPGo Team (support@sftpgo.com). -{{- if gt (len .Languages) 1}} +{{- if or (gt (len .Languages) 1) (and .Branding.DisclaimerName .Branding.DisclaimerPath)}}
{{- end}}
@@ -68,5 +68,12 @@ explicit grant from the SFTPGo Team (support@sftpgo.com).
+
+ {{- if and .Branding.DisclaimerName .Branding.DisclaimerPath}} + + {{.Branding.DisclaimerName}} + + {{- end}} +
{{- end}} \ No newline at end of file