Added the allowInvites account field
This commit is contained in:
parent
a176c484b9
commit
ec4a391cb0
@ -11,7 +11,8 @@ export interface IAccount {
|
||||
verified: boolean,
|
||||
verificationSecret: number | undefined,
|
||||
totpSecret?: string,
|
||||
totpEnabled: boolean
|
||||
totpEnabled: boolean,
|
||||
allowInvites: boolean
|
||||
}
|
||||
|
||||
const AccountSchema = new Schema<IAccount>({
|
||||
@ -42,6 +43,10 @@ const AccountSchema = new Schema<IAccount>({
|
||||
totpEnabled: {
|
||||
type: Boolean,
|
||||
default: false
|
||||
},
|
||||
allowInvites: {
|
||||
type: Boolean,
|
||||
default: true
|
||||
}
|
||||
});
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user