redirect
This commit is contained in:
parent
3faf2229bc
commit
2a3ec7be16
|
|
@ -107,7 +107,8 @@ for source in log_sources:
|
||||||
log.setLevel(SRC_LOG_LEVELS["CONFIG"])
|
log.setLevel(SRC_LOG_LEVELS["CONFIG"])
|
||||||
|
|
||||||
|
|
||||||
WEBUI_NAME = os.environ.get("WEBUI_NAME", "Open WebUI")
|
WEBUI_NAME = os.environ.get("WEBUI_NAME", "ably.do")
|
||||||
|
WEBUI_APP_NAME = os.environ.get("WEBUI_APP_NAME", "ably.do")
|
||||||
#if WEBUI_NAME != "Open WebUI":
|
#if WEBUI_NAME != "Open WebUI":
|
||||||
# WEBUI_NAME += " (Open WebUI)"
|
# WEBUI_NAME += " (Open WebUI)"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -398,6 +398,9 @@
|
||||||
<span>{$i18n.t('Continue with {{provider}}', { provider: 'GitHub' })}</span>
|
<span>{$i18n.t('Continue with {{provider}}', { provider: 'GitHub' })}</span>
|
||||||
</button>
|
</button>
|
||||||
{/if}
|
{/if}
|
||||||
|
{#if $config?.oauth?.providers?.oidc}
|
||||||
|
goto(`${WEBUI_BASE_URL}/oauth/oidc/login`);
|
||||||
|
{/if}
|
||||||
{#if $config?.oauth?.providers?.oidc}
|
{#if $config?.oauth?.providers?.oidc}
|
||||||
<button
|
<button
|
||||||
class="flex justify-center items-center bg-gray-700/5 hover:bg-gray-700/10 dark:bg-gray-100/5 dark:hover:bg-gray-100/10 dark:text-gray-300 dark:hover:text-white transition w-full rounded-full font-medium text-sm py-2.5"
|
class="flex justify-center items-center bg-gray-700/5 hover:bg-gray-700/10 dark:bg-gray-100/5 dark:hover:bg-gray-100/10 dark:text-gray-300 dark:hover:text-white transition w-full rounded-full font-medium text-sm py-2.5"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue