Skip to content

Commit

Permalink
Disable SignUp for Rill Dash (#2781)
Browse files Browse the repository at this point in the history
  • Loading branch information
djbarnwal authored Jul 17, 2023
1 parent bbc104a commit 815088a
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions web-auth/src/components/Auth.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -215,13 +215,16 @@
{/if}

<Disclaimer />
<div class="mt-6 text-sm text-slate-500">
{isLoginPage ? "Don't" : "Already"} have an account?

<!-- svelte-ignore a11y-invalid-attribute -->
<a href="#" on:click={() => (isLoginPage = !isLoginPage)}>
{isLoginPage ? "Sign up" : "Log in"}</a
>
</div>
{#if isRillCloud}
<div class="mt-6 text-sm text-slate-500">
{isLoginPage ? "Don't" : "Already"} have an account?

<!-- svelte-ignore a11y-invalid-attribute -->
<a href="#" on:click={() => (isLoginPage = !isLoginPage)}>
{isLoginPage ? "Sign up" : "Log in"}</a
>
</div>
{/if}
</AuthContainer>
</RillTheme>

0 comments on commit 815088a

Please sign in to comment.