mirror of
https://github.com/versia-pub/server.git
synced 2025-12-06 08:28:19 +01:00
fix(api): 🐛 Make uppercase usernames send errors during registration again
This commit is contained in:
parent
a3b745358b
commit
2fea17fdaa
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue