diff --git a/packages/builder/src/pages/builder/auth/login.svelte b/packages/builder/src/pages/builder/auth/login.svelte index 47fdc2d4417..8c38649b421 100644 --- a/packages/builder/src/pages/builder/auth/login.svelte +++ b/packages/builder/src/pages/builder/auth/login.svelte @@ -1,184 +1,184 @@ - - - -{#if loaded} - - - - {#if loaded} - logo - {/if} - - {$organisation.loginHeading || "Log in to Budibase"} - - - - {#if loaded && ($organisation.google || $organisation.oidc)} - - - - - {/if} - {#if !$organisation.isSSOEnforced} - - - { - formData = { - ...formData, - username: e.detail, - } - }} - validate={() => { - let fieldError = { - username: !formData.username - ? "Please enter a valid email" - : undefined, - } - errors = handleError({ ...errors, ...fieldError }) - }} - error={errors.username} - /> - { - formData = { - ...formData, - password: e.detail, - } - }} - validate={() => { - let fieldError = { - password: !formData.password - ? "Please enter your password" - : undefined, - } - errors = handleError({ ...errors, ...fieldError }) - }} - error={errors.password} - /> - - {/if} - - {#if !$organisation.isSSOEnforced} - - - - - - - {/if} - - {#if cloud} - - By using Budibase Cloud -
- you are agreeing to our - - License Agreement - - - {/if} -
-
-{/if} - - + + + +{#if loaded} + + + + {#if loaded} + logo + {/if} + + {$organisation.loginHeading || "Log in to Budibase"} + + + + {#if loaded && ($organisation.google || $organisation.oidc)} + + + + + {/if} + {#if !$organisation.isSSOEnforced} + + + { + formData = { + ...formData, + username: e.detail, + } + }} + validate={() => { + let fieldError = { + username: !formData.username + ? "Please enter a valid email" + : undefined, + } + errors = handleError({ ...errors, ...fieldError }) + }} + error={errors.username} + /> + { + formData = { + ...formData, + password: e.detail, + } + }} + validate={() => { + let fieldError = { + password: !formData.password + ? "Please enter your password" + : undefined, + } + errors = handleError({ ...errors, ...fieldError }) + }} + error={errors.password} + /> + + {/if} + + {#if !$organisation.isSSOEnforced} + + + + + + + {/if} + + {#if cloud} + + By using Budibase Cloud +
+ you are agreeing to our + + License Agreement + + + {/if} +
+
+{/if} + +