1
0
Fork 0

sparkles: Removed fields from user account view

This commit is contained in:
Joost De Cock 2018-10-23 12:14:42 +02:00 committed by Joost De Cock
parent ae5713b58e
commit c313319397

View file

@ -146,6 +146,8 @@ UserSchema.methods.account = function() {
let account = this.toObject();
delete account.password;
delete account.ehash;
delete account._ac;
delete account._ct;
return account;
}