rubber-blueR
Refine3y ago
9 replies
rubber-blue

Add Custom Fields to AuthPage

Here is the AuthPage for the Register Route, and I would like to add password confirmation so the user has to confirm their password, and I would also like to put an additional field that has the organization Id, since my users will need that when signing up.

<Route
                    path="/register"
                    element={
                      <AuthPage
                        type="register"
                        formProps={{
                          defaultValues: {
                            email: "demo@refine.dev",
                            password: "demodemo",
                          },
                        }}
                        
                      />
                    }
                  />


How could I add that?
Was this page helpful?