feat: support webui_auth false

#929
This commit is contained in:
Timothy J. Baek committed 2024-05-08 08:40:18 -07:00
1 parent 0d633c0d17
commit 01472c071b
5 files changed
+23 -7

No files matched your search

+2 -2
View File
@@ -60,7 +60,7 @@
await goto('/');
}
loaded = true;
if ($config?.trusted_header_auth ?? false) {
if (($config?.trusted_header_auth ?? false) || $config?.auth === false) {
await signInHandler();
}
});
@@ -97,7 +97,7 @@
</div> -->
<div class="w-full sm:max-w-md px-10 min-h-screen flex flex-col text-center">
{#if $config?.trusted_header_auth ?? false}
{#if ($config?.trusted_header_auth ?? false) || $config?.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"