feat: add option to hide the login button from public-facing pages (#3922)

Co-authored-by: Henrique Dias <mail@hacdias.com>
This commit is contained in:
Lucky Jain 2025-11-14 16:21:08 +01:00 committed by GitHub
parent 9d44932dba
commit ac7b49c148
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 29 additions and 1 deletions

View file

@ -46,6 +46,7 @@ func handleWithStaticData(w http.ResponseWriter, _ *http.Request, d *data, fSys
"ResizePreview": d.server.ResizePreview,
"EnableExec": d.server.EnableExec,
"TusSettings": d.settings.Tus,
"HideLoginButton": d.settings.HideLoginButton,
}
if d.settings.Branding.Files != "" {