fix(api): 🐛 Make uppercase usernames send errors during registration again

This commit is contained in:
Jesse Wierzbinski 2024-11-21 09:26:03 +01:00
parent a3b745358b
commit 2fea17fdaa
No known key found for this signature in database

View file

@ -25,7 +25,7 @@ export const meta = applyConfig({
export const schemas = {
json: z.object({
username: z.string().toLowerCase(),
username: z.string(),
email: z.string().toLowerCase(),
password: z.string().optional(),
agreement: z