1
0
Fork 0
mirror of synced 2024-07-07 23:35:49 +12:00

Adding change org button to login page.

This commit is contained in:
mike12345567 2021-07-21 11:47:47 +01:00
parent 3305400c83
commit a9752c0939

View file

@ -27,7 +27,6 @@
username, username,
password, password,
}) })
notifications.success("Logged in successfully")
if ($auth?.user?.forceResetPassword) { if ($auth?.user?.forceResetPassword) {
$goto("./reset") $goto("./reset")
} else { } else {
@ -79,6 +78,9 @@
<ActionButton quiet on:click={() => $goto("./forgot")}> <ActionButton quiet on:click={() => $goto("./forgot")}>
Forgot password? Forgot password?
</ActionButton> </ActionButton>
<ActionButton quiet on:click={() => $goto("./org")}>
Change organisation
</ActionButton>
</Layout> </Layout>
</Layout> </Layout>
</div> </div>