diff --git a/backend/open_webui/main.py b/backend/open_webui/main.py index 043a5bccec..679cc38a11 100644 --- a/backend/open_webui/main.py +++ b/backend/open_webui/main.py @@ -1657,7 +1657,10 @@ async def get_app_config(request: Request): "metadata": { "login_footer": app.state.LICENSE_METADATA.get( "login_footer", "" - ) + ), + "auth_logo_position": app.state.LICENSE_METADATA.get( + "auth_logo_position", "" + ), } } if app.state.LICENSE_METADATA diff --git a/src/routes/auth/+page.svelte b/src/routes/auth/+page.svelte index b2c936162c..66e027ba34 100644 --- a/src/routes/auth/+page.svelte +++ b/src/routes/auth/+page.svelte @@ -206,6 +206,17 @@ {:else}
+ {#if $config?.metadata?.auth_logo_position === 'center'} +
+ +
+ {/if}
{ @@ -529,18 +540,20 @@
-
-
-
- + {#if !$config?.metadata?.auth_logo_position} +
+
+
+ +
-
+ {/if} {/if}