diff --git a/backend/open_webui/config.py b/backend/open_webui/config.py index 8c6a44201..06ac258f9 100644 --- a/backend/open_webui/config.py +++ b/backend/open_webui/config.py @@ -422,7 +422,6 @@ OAUTH_ADMIN_ROLES = PersistentConfig( ) - def load_oauth_providers(): OAUTH_PROVIDERS.clear() if GOOGLE_CLIENT_ID.value and GOOGLE_CLIENT_SECRET.value: diff --git a/src/routes/auth/+page.svelte b/src/routes/auth/+page.svelte index f6ba932b9..c4700d264 100644 --- a/src/routes/auth/+page.svelte +++ b/src/routes/auth/+page.svelte @@ -119,20 +119,6 @@
- -
{#if ($config?.features.auth_trusted_header ?? false) || $config?.features.auth === false}
@@ -183,7 +169,7 @@