yo-next-auth/locales/en/schema.ts

18 lines
531 B
TypeScript

export default {
password: {
required: 'Password is required',
strength: {
acme: 'Password must contain at least a single lowercase, uppercase, digit and special character. The length must be between {min} and {max} characters.',
},
length: {
min: 'Password must be at least {min} characters',
max: 'Password must be maximally {max} characters',
},
},
email: {
required: 'Email address is required or invalid format',
},
name: {
required: `Name is required`,
},
} as const