fix(auth): adapt regex
This commit is contained in:
parent
216e6814d8
commit
8949e55528
1 changed files with 1 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
||||||
import { z } from 'zod';
|
import { z } from 'zod';
|
||||||
|
|
||||||
const CODE_REGEX = /^[0-9a-f]{4}-[0-5][0-9a-f]{3}$/;
|
const CODE_REGEX = /^[0-9a-f]{4}-[0-9a-f]{4}$/;
|
||||||
|
|
||||||
export const loginSchema = z.object({
|
export const loginSchema = z.object({
|
||||||
pseudo: z.string()
|
pseudo: z.string()
|
||||||
|
|
Loading…
Add table
Reference in a new issue