mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-22 06:39:26 +01:00
refac
This commit is contained in:
@@ -330,7 +330,7 @@
|
||||
{#if !ollama}
|
||||
<option value="session">{$i18n.t('Session')}</option>
|
||||
{#if !direct}
|
||||
<option value="oauth">{$i18n.t('OAuth')}</option>
|
||||
<option value="system_oauth">{$i18n.t('OAuth')}</option>
|
||||
{/if}
|
||||
{/if}
|
||||
</select>
|
||||
@@ -355,7 +355,7 @@
|
||||
>
|
||||
{$i18n.t('Forwards system user session credentials to authenticate')}
|
||||
</div>
|
||||
{:else if auth_type === 'oauth'}
|
||||
{:else if auth_type === 'system_oauth'}
|
||||
<div
|
||||
class={`text-xs self-center translate-y-[1px] ${($settings?.highContrastMode ?? false) ? 'text-gray-800 dark:text-gray-100' : 'text-gray-500'}`}
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user