This commit is contained in:
Timothy J. Baek
2024-05-26 13:02:40 -07:00
parent 78dedb3389
commit 0c04b18f36
6 changed files with 9 additions and 12 deletions

View File

@@ -60,10 +60,7 @@
await goto('/');
}
loaded = true;
if (
($config?.feature_flags.auth_trusted_header ?? false) ||
$config?.feature_flags.auth === false
) {
if (($config?.features.auth_trusted_header ?? false) || $config?.features.auth === false) {
await signInHandler();
}
});
@@ -105,7 +102,7 @@
</div> -->
<div class="w-full sm:max-w-md px-10 min-h-screen flex flex-col text-center">
{#if ($config?.feature_flags.auth_trusted_header ?? false) || $config?.feature_flags.auth === false}
{#if ($config?.features.auth_trusted_header ?? false) || $config?.features.auth === false}
<div class=" my-auto pb-10 w-full">
<div
class="flex items-center justify-center gap-3 text-xl sm:text-2xl text-center font-bold dark:text-gray-200"
@@ -197,7 +194,7 @@
{mode === 'signin' ? $i18n.t('Sign in') : $i18n.t('Create Account')}
</button>
{#if $config?.feature_flags.enable_signup}
{#if $config?.features.enable_signup}
<div class=" mt-4 text-sm text-center">
{mode === 'signin'
? $i18n.t("Don't have an account?")