diff --git a/src/models/Account.ts b/src/models/Account.ts index 593bc24..0f99acb 100644 --- a/src/models/Account.ts +++ b/src/models/Account.ts @@ -16,7 +16,8 @@ export interface AccountInterface extends Document { }, root: boolean, hash: string, - salt: string + salt: string, + authTag: Buffer } const Account: Schema = new Schema({ @@ -36,6 +37,7 @@ const Account: Schema = new Schema({ root: Boolean, hash: String, salt: String, + authTag: Buffer, }); export default model('Account', Account);