Exclude role in the signup (frontend) as it should be driven from the backend
Hey Guys, I added the field role So i added this in React:
export const authClient = createAuthClient({
plugins: [inferAdditionalFields({ user: { role: { type: "string" } } })],
but now, when a user signup, we should not ask for role... this field should not be driven by the frontend.. How can exclude it?
#help
3 Replies