Compare commits
1 commit
f63fc3f1fe
...
d383f77c41
Author | SHA1 | Date | |
---|---|---|---|
d383f77c41 |
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ export const registerSchema = zod
|
||||||
!data.password.includes(data.username),
|
!data.password.includes(data.username),
|
||||||
{
|
{
|
||||||
message:
|
message:
|
||||||
'Password cannot contain your first name, last name, email, or username',
|
'Password cannot contain your first name, last name, email, or username itself',
|
||||||
path: ['password'],
|
path: ['password'],
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue