Merge pull request #2903 from Budibase/cloud-license-agreement

added 'you agree to license' on cloud login
This commit is contained in:
Martin McKeaveney 2021-10-06 15:36:57 +01:00 committed by GitHub
commit 09d4175501
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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>