Adding change org button to login page.

This commit is contained in:
mike12345567 2021-07-21 11:47:47 +01:00
parent f99f077cdc
commit 29efa60eab
1 changed files with 3 additions and 1 deletions

View File

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