UNPKG

@daveyplate/better-auth-ui

Version:

Plug & play shadcn/ui components for better-auth

33 lines (27 loc) 651 B
import type { PasswordValidation } from "./password-validation" export type CredentialsOptions = { /** * Enable or disable the Confirm Password input * @default false */ confirmPassword?: boolean /** * Enable or disable Forgot Password flow * @default true */ forgotPassword?: boolean /** * Customize the password validation */ passwordValidation?: PasswordValidation /** * Enable or disable Remember Me checkbox * @default false */ rememberMe?: boolean /** * Enable or disable Username support * @default false */ username?: boolean }