+
+
+
+ Join {company}
+ Create your account to access your budibase apps!
+
-
-
-
- {
- formData = {
- ...formData,
- firstName: e.detail,
- }
- }}
- validate={() => {
- let fieldError = {
- firstName: !formData.firstName
- ? "Please enter your first name"
- : undefined,
- }
-
- errors = handleError({ ...errors, ...fieldError })
- }}
- error={errors.firstName}
- disabled={onboarding}
- />
- {
- formData = {
- ...formData,
- lastName: e.detail,
- }
- }}
- disabled={onboarding}
- />
- {
- formData = {
- ...formData,
- password: e.detail,
- }
- }}
- validate={() => {
- let fieldError = {}
-
- fieldError["password"] = !formData.password
- ? "Please enter a password"
- : undefined
-
- fieldError["confirmationPassword"] =
- !passwordsMatch(
- formData.password,
- formData.confirmationPassword
- ) && formData.confirmationPassword
- ? "Passwords must match"
- : undefined
-
- errors = handleError({ ...errors, ...fieldError })
- }}
- error={errors.password}
- disabled={onboarding}
- />
- {
- formData = {
- ...formData,
- confirmationPassword: e.detail,
- }
- }}
- validate={() => {
- let fieldError = {
- confirmationPassword:
- !passwordsMatch(
- formData.password,
- formData.confirmationPassword
- ) && formData.password
- ? "Passwords must match"
+
+
+
+ {
+ formData = {
+ ...formData,
+ firstName: e.detail,
+ }
+ }}
+ validate={() => {
+ let fieldError = {
+ firstName: !formData.firstName
+ ? "Please enter your first name"
: undefined,
- }
+ }
- errors = handleError({ ...errors, ...fieldError })
- }}
- error={errors.confirmationPassword}
- disabled={onboarding}
- />
-
+ errors = handleError({ ...errors, ...fieldError })
+ }}
+ error={errors.firstName}
+ disabled={onboarding}
+ />
+ {
+ formData = {
+ ...formData,
+ lastName: e.detail,
+ }
+ }}
+ disabled={onboarding}
+ />
+ {#if !$organisation.isSSOEnforced}
+ {
+ formData = {
+ ...formData,
+ password: e.detail,
+ }
+ }}
+ validate={() => {
+ let fieldError = {}
+
+ fieldError["password"] = !formData.password
+ ? "Please enter a password"
+ : undefined
+
+ fieldError["confirmationPassword"] =
+ !passwordsMatch(
+ formData.password,
+ formData.confirmationPassword
+ ) && formData.confirmationPassword
+ ? "Passwords must match"
+ : undefined
+
+ errors = handleError({ ...errors, ...fieldError })
+ }}
+ error={errors.password}
+ disabled={onboarding}
+ />
+ {
+ formData = {
+ ...formData,
+ confirmationPassword: e.detail,
+ }
+ }}
+ validate={() => {
+ let fieldError = {
+ confirmationPassword:
+ !passwordsMatch(
+ formData.password,
+ formData.confirmationPassword
+ ) && formData.password
+ ? "Passwords must match"
+ : undefined,
+ }
+
+ errors = handleError({ ...errors, ...fieldError })
+ }}
+ error={errors.confirmationPassword}
+ disabled={onboarding}
+ />
+ {/if}
+
+
+
+
+
-
-
-
-