simple login validation to prevent login without entering anything
This commit is contained in:
parent
4935cff4ac
commit
0b53d9ab6b
|
@ -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