mirror of
https://github.com/pocket-id/pocket-id.git
synced 2026-02-12 02:18:59 +00:00
feat: make family name optional (#476)
This commit is contained in:
@@ -7,7 +7,7 @@ export type User = {
|
||||
username: string;
|
||||
email: string;
|
||||
firstName: string;
|
||||
lastName: string;
|
||||
lastName?: string;
|
||||
isAdmin: boolean;
|
||||
userGroups: UserGroup[];
|
||||
customClaims: CustomClaim[];
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
|
||||
const formSchema = z.object({
|
||||
firstName: z.string().min(1).max(50),
|
||||
lastName: z.string().min(1).max(50),
|
||||
lastName: z.string().max(50),
|
||||
username: z
|
||||
.string()
|
||||
.min(2)
|
||||
|
||||
Reference in New Issue
Block a user