The communications platform that puts data protection first.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Rocket.Chat/app/utils/server/functions/getDefaultUserFields.js

29 lines
565 B

export const getDefaultUserFields = () => ({
name: 1,
username: 1,
emails: 1,
status: 1,
statusDefault: 1,
statusText: 1,
statusConnection: 1,
avatarOrigin: 1,
utcOffset: 1,
language: 1,
settings: 1,
enableAutoAway: 1,
idleTimeLimit: 1,
roles: 1,
active: 1,
defaultRoom: 1,
customFields: 1,
requirePasswordChange: 1,
requirePasswordChangeReason: 1,
'services.github': 1,
'services.gitlab': 1,
'services.tokenpass': 1,
'services.blockstack': 1,
'services.password.bcrypt': 1,
'services.totp.enabled': 1,
statusLivechat: 1,
banners: 1,
});