[user] remove banSnapshot

This commit is contained in:
Andrea 2022-01-17 16:51:50 +01:00
parent 20cd0f80da
commit 77103d7f20
1 changed files with 1 additions and 0 deletions

View File

@ -155,6 +155,7 @@ export const issueAuthentication = async (db, user, fetch = true, guardMfa = fal
user.avatar = await avatar(db, user);
delete user.suspiciousChecked;
delete user.bannedBy;
delete user.banSnapshot;
if (extend) {
user = {