From dbf14afa32af7c2608b10325d3385bb501c1df78 Mon Sep 17 00:00:00 2001 From: "Timothy J. Baek" Date: Sun, 3 Nov 2024 02:00:31 -0800 Subject: [PATCH] refac: styling --- backend/open_webui/config.py | 1 - src/routes/auth/+page.svelte | 22 ++++------------------ 2 files changed, 4 insertions(+), 19 deletions(-) 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 @@