forked from engineering/cloudservices
account changes
parent
1927e3b295
commit
988539279b
|
@ -16,7 +16,8 @@ export interface AccountInterface extends Document {
|
||||||
},
|
},
|
||||||
root: boolean,
|
root: boolean,
|
||||||
hash: string,
|
hash: string,
|
||||||
salt: string
|
salt: string,
|
||||||
|
authTag: Buffer
|
||||||
}
|
}
|
||||||
|
|
||||||
const Account: Schema = new Schema({
|
const Account: Schema = new Schema({
|
||||||
|
@ -36,6 +37,7 @@ const Account: Schema = new Schema({
|
||||||
root: Boolean,
|
root: Boolean,
|
||||||
hash: String,
|
hash: String,
|
||||||
salt: String,
|
salt: String,
|
||||||
|
authTag: Buffer,
|
||||||
});
|
});
|
||||||
|
|
||||||
export default model<AccountInterface>('Account', Account);
|
export default model<AccountInterface>('Account', Account);
|
||||||
|
|
Loading…
Reference in New Issue