diff --git a/frontend-modern/src/components/Login.tsx b/frontend-modern/src/components/Login.tsx index 5d3e317c7..a27e40078 100644 --- a/frontend-modern/src/components/Login.tsx +++ b/frontend-modern/src/components/Login.tsx @@ -443,16 +443,18 @@ const LoginForm: Component<{ {oidcMessage()} -
- - - or - - -
-

- Use your admin credentials to sign in below. -

+ +
+ + + or + + +
+

+ Use your admin credentials to sign in below. +

+
diff --git a/internal/api/system_settings.go b/internal/api/system_settings.go index 41c2c6420..600470fb8 100644 --- a/internal/api/system_settings.go +++ b/internal/api/system_settings.go @@ -590,6 +590,9 @@ func (h *SystemSettingsHandler) HandleUpdateSystemSettings(w http.ResponseWriter if _, ok := rawRequest["allowEmbedding"]; ok { settings.AllowEmbedding = updates.AllowEmbedding } + if _, ok := rawRequest["hideLocalLogin"]; ok { + settings.HideLocalLogin = updates.HideLocalLogin + } if _, ok := rawRequest["backupPollingEnabled"]; ok { settings.BackupPollingEnabled = updates.BackupPollingEnabled }