diff --git a/packages/builder/src/components/login/ForgotForm.svelte b/packages/builder/src/components/login/ForgotForm.svelte index 6eec3b4208..f26c3bfc2b 100644 --- a/packages/builder/src/components/login/ForgotForm.svelte +++ b/packages/builder/src/components/login/ForgotForm.svelte @@ -7,8 +7,7 @@ Body, Heading, } from "@budibase/bbui" - import { organisation } from "stores/portal" - import { auth } from "stores/backend" + import { organisation, auth } from "stores/portal" let email = "" diff --git a/packages/builder/src/components/login/LoginForm.svelte b/packages/builder/src/components/login/LoginForm.svelte index 36b1764241..e81c3411cd 100644 --- a/packages/builder/src/components/login/LoginForm.svelte +++ b/packages/builder/src/components/login/LoginForm.svelte @@ -11,8 +11,7 @@ Heading, } from "@budibase/bbui" import GoogleButton from "./GoogleButton.svelte" - import { auth } from "stores/backend" - import { organisation } from "stores/portal" + import { organisation, auth } from "stores/portal" let username = "" let password = "" diff --git a/packages/builder/src/components/login/ResetForm.svelte b/packages/builder/src/components/login/ResetForm.svelte index 8f82c23193..a0a56a2523 100644 --- a/packages/builder/src/components/login/ResetForm.svelte +++ b/packages/builder/src/components/login/ResetForm.svelte @@ -1,9 +1,8 @@ {#if $auth.user} diff --git a/packages/builder/src/pages/builder/apps/_components/ChangePasswordModal.svelte b/packages/builder/src/pages/builder/apps/_components/ChangePasswordModal.svelte index d1f21d6b5b..bed7e68bbe 100644 --- a/packages/builder/src/pages/builder/apps/_components/ChangePasswordModal.svelte +++ b/packages/builder/src/pages/builder/apps/_components/ChangePasswordModal.svelte @@ -1,12 +1,18 @@ @@ -14,7 +20,7 @@ title="Change password" confirmText="Update password" onConfirm={updatePassword} - disabled={error} + disabled={error || !password} >
Enter your new password below.