refactor(auth): remove personal code from sign-up flow and update related components

feat(i18n): update translations for company account creation and get started
This commit is contained in:
Danel Kungla
2025-08-21 21:32:03 +03:00
parent 6f67a21cc1
commit cdf1491e53
9 changed files with 13 additions and 42 deletions

View File

@@ -4,9 +4,6 @@ import { RefinedPasswordSchema, refineRepeatPassword } from './password.schema';
export const PasswordSignUpSchema = z
.object({
personalCode: z.string().regex(/^[1-6]\d{2}(0[1-9]|1[0-2])(0[1-9]|[12]\d|3[01])\d{3}\d$/, {
message: 'Invalid Estonian personal code format',
}),
email: z.string().email(),
password: RefinedPasswordSchema,
repeatPassword: RefinedPasswordSchema,