update account form for email login

This commit is contained in:
2025-09-10 06:34:05 +03:00
parent e3cdba6a7c
commit fa0bbe64fb
13 changed files with 102 additions and 46 deletions

View File

@@ -10,7 +10,7 @@ const personalCodeSchema = z.string().refine(
}
},
{
message: 'Invalid personal code',
message: 'common:formFieldError.invalidPersonalCode',
},
);

View File

@@ -1,5 +1,5 @@
import { format } from 'date-fns';
import Isikukood, { Gender } from 'isikukood';
import Isikukood from 'isikukood';
/**
* Check if the code is running in a browser environment.