fix registration validation config
This commit is contained in:
@@ -96,7 +96,7 @@ export function createValidationSchema(config: ValidationConfig, accountType?: '
|
||||
}
|
||||
|
||||
// phone
|
||||
if (config.phone) {
|
||||
if (config.phone) {
|
||||
let phoneSchema = z.string();
|
||||
|
||||
// Минимальная длина
|
||||
@@ -175,7 +175,7 @@ export function createValidationSchema(config: ValidationConfig, accountType?: '
|
||||
});
|
||||
}
|
||||
|
||||
export function createValidationSchemaForPssword(config: ValidationConfig) {
|
||||
export function createValidationSchemaForPassword(config: ValidationConfig) {
|
||||
const schema: Record<string, any> = {};
|
||||
|
||||
// password
|
||||
|
||||
Reference in New Issue
Block a user