fix invite signup teehee

This commit is contained in:
May 2024-06-25 13:01:54 -07:00
parent 0f7ae63c97
commit ca99f85f62
Signed by: split
GPG key ID: C325C61F0BF517C0

View file

@ -264,7 +264,7 @@ export default function (files: Files) {
password: AccountSchemas.StringPassword, password: AccountSchemas.StringPassword,
invite: z.string().max(6) invite: z.string().max(6)
}).omit( }).omit(
Configuration.accounts.requiredForUpload !Configuration.accounts.requiredForUpload
? { invite: true } ? { invite: true }
: {} : {}
)), async (ctx) => { )), async (ctx) => {