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
1 changed files with 3 additions and 1 deletions

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>