simple login validation to prevent login without entering anything
This commit is contained in:
parent
764b4ca9cd
commit
5e2155cbc7
|
@ -80,7 +80,9 @@
|
||||||
/>
|
/>
|
||||||
</Layout>
|
</Layout>
|
||||||
<Layout gap="XS" noPadding>
|
<Layout gap="XS" noPadding>
|
||||||
<Button cta on:click={login}>Sign in to {company}</Button>
|
<Button cta disabled={!username && !password} on:click={login}
|
||||||
|
>Sign in to {company}</Button
|
||||||
|
>
|
||||||
<ActionButton quiet on:click={() => $goto("./forgot")}>
|
<ActionButton quiet on:click={() => $goto("./forgot")}>
|
||||||
Forgot password?
|
Forgot password?
|
||||||
</ActionButton>
|
</ActionButton>
|
||||||
|
|
Loading…
Reference in New Issue