fix(auth): adapt regex

This commit is contained in:
glazk0 2024-09-17 09:09:35 +02:00
parent 216e6814d8
commit 8949e55528
No known key found for this signature in database
GPG key ID: E45BF177782B9FEB

View file

@ -1,6 +1,6 @@
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({
pseudo: z.string()