mirror of
https://github.com/mollersuite/monofile.git
synced 2024-11-21 21:36: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,
|
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) => {
|
||||||
|
|
Loading…
Reference in a new issue