added 'you agree to license' on cloud login

This commit is contained in:
Mike Shanks 2021-10-06 15:16:36 +01:00
parent 1c9147974e
commit 2597dc833d
1 changed files with 11 additions and 0 deletions

View File

@ -8,6 +8,7 @@
Input, Input,
Layout, Layout,
notifications, notifications,
Link,
} from "@budibase/bbui" } from "@budibase/bbui"
import { goto, params } from "@roxi/routify" import { goto, params } from "@roxi/routify"
import { auth, organisation, oidc, admin } from "stores/portal" import { auth, organisation, oidc, admin } from "stores/portal"
@ -97,6 +98,16 @@
</ActionButton> </ActionButton>
{/if} {/if}
</Layout> </Layout>
{#if cloud}
<Body size="xs" textAlign="center">
By using Budibase Cloud
<br />
you are agreeing to our
<Link href="https://budibase.com/eula" target="_blank"
>License Agreement</Link
>
</Body>
{/if}
</Layout> </Layout>
</div> </div>
</div> </div>