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
12 changed files with 29 additions and 1 deletions

View File

@@ -18,6 +18,7 @@ const enableExec: boolean = window.FileBrowser.EnableExec;
const tusSettings = window.FileBrowser.TusSettings;
const origin = window.location.origin;
const tusEndpoint = `/api/tus`;
const hideLoginButton = window.FileBrowser.HideLoginButton;
export {
name,
@@ -39,4 +40,5 @@ export {
tusSettings,
origin,
tusEndpoint,
hideLoginButton,
};