diff --git a/packages/builder/src/components/start/CreateAppModal.svelte b/packages/builder/src/components/start/CreateAppModal.svelte index c727283b29..fcd5379733 100644 --- a/packages/builder/src/components/start/CreateAppModal.svelte +++ b/packages/builder/src/components/start/CreateAppModal.svelte @@ -25,10 +25,6 @@ applicationName: string().required("Your application must have a name."), } const userValidation = { - email: string() - .email() - .required("Your application needs a first user."), - password: string().required("Please enter a password for your first user."), roleId: string().required("You need to select a role for your user."), } @@ -153,8 +149,6 @@ // Create user const user = { - email: $createAppStore.values.email, - password: $createAppStore.values.password, roleId: $createAppStore.values.roleId, } const userResp = await api.post(`/api/users/metadata`, user) diff --git a/packages/builder/src/components/start/Steps/User.svelte b/packages/builder/src/components/start/Steps/User.svelte index 397a06be94..6bc4db711a 100644 --- a/packages/builder/src/components/start/Steps/User.svelte +++ b/packages/builder/src/components/start/Steps/User.svelte @@ -1,26 +1,9 @@ -

Create your first User

+

What's your role for this app?

- (blurred.email = true)} - label="Email" - name="email" - placeholder="Email" - type="email" - error={blurred.email && validationErrors.email} /> - (blurred.password = true)} - label="Password" - name="password" - placeholder="Password" - type="password" - error={blurred.password && validationErrors.password} />