mod redirect
This commit is contained in:
parent
2a3ec7be16
commit
0a330c4d93
|
|
@ -49,6 +49,10 @@
|
|||
const redirectPath = querystringValue('redirect') || '/';
|
||||
goto(redirectPath);
|
||||
}
|
||||
else
|
||||
{
|
||||
goto(`${WEBUI_BASE_URL}/oauth/oidc/login`);
|
||||
}
|
||||
};
|
||||
|
||||
const signInHandler = async () => {
|
||||
|
|
@ -398,9 +402,6 @@
|
|||
<span>{$i18n.t('Continue with {{provider}}', { provider: 'GitHub' })}</span>
|
||||
</button>
|
||||
{/if}
|
||||
{#if $config?.oauth?.providers?.oidc}
|
||||
goto(`${WEBUI_BASE_URL}/oauth/oidc/login`);
|
||||
{/if}
|
||||
{#if $config?.oauth?.providers?.oidc}
|
||||
<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"
|
||||
|
|
|
|||
Loading…
Reference in New Issue