fix: prevent students from logging into dashboard from 404

This commit is contained in:
Rotimi Best
2024-04-04 14:33:55 +01:00
parent e46c9bac97
commit 2553d42dae
@@ -58,7 +58,7 @@
{#if isOrgSite} {#if isOrgSite}
<li><a class="block" href="/lms"> Go to LMS </a></li> <li><a class="block" href="/lms"> Go to LMS </a></li>
{/if} {/if}
{:else} {:else if !$page.url.pathname?.includes('/404')}
<li> <li>
<div class="flex"> <div class="flex">
<PrimaryButton <PrimaryButton