mirror of
https://github.com/mollersuite/monofile.git
synced 2024-11-24 22:56:26 -08:00
fix invite signup teehee
This commit is contained in:
parent
0f7ae63c97
commit
ca99f85f62
|
@ -264,7 +264,7 @@ export default function (files: Files) {
|
|||
password: AccountSchemas.StringPassword,
|
||||
invite: z.string().max(6)
|
||||
}).omit(
|
||||
Configuration.accounts.requiredForUpload
|
||||
!Configuration.accounts.requiredForUpload
|
||||
? { invite: true }
|
||||
: {}
|
||||
)), async (ctx) => {
|
||||
|
|
Loading…
Reference in a new issue